diff options
| author | Baokun Li <[email protected]> | 2025-01-22 11:05:30 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2025-03-13 14:08:09 +0000 |
| commit | 6e969ef3d7cff494118205c85a21e05b046ac6c6 (patch) | |
| tree | e8fd51f66a29458fd146f2abe3ebdd33d0d3aafc /fs/jbd2/commit.c | |
| parent | ext4: abort journal on data writeback failure if in data_err=abort mode (diff) | |
| download | kernel-6e969ef3d7cff494118205c85a21e05b046ac6c6.tar.gz kernel-6e969ef3d7cff494118205c85a21e05b046ac6c6.zip | |
jbd2: drop JBD2_ABORT_ON_SYNCDATA_ERR
Since ext4's data_err=abort mode doesn't depend on
JBD2_ABORT_ON_SYNCDATA_ERR anymore, and nobody else uses it, we can
drop it and only warn in jbd2 as it used to be long ago.
Suggested-by: Jan Kara <[email protected]>
Signed-off-by: Baokun Li <[email protected]>
Reviewed-by: Zhang Yi <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
| -rw-r--r-- | fs/jbd2/commit.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c index e8e80761ac73..b7a76ec1463d 100644 --- a/fs/jbd2/commit.c +++ b/fs/jbd2/commit.c @@ -738,10 +738,8 @@ start_journal_io: err = journal_finish_inode_data_buffers(journal, commit_transaction); if (err) { printk(KERN_WARNING - "JBD2: Detected IO errors while flushing file data " - "on %s\n", journal->j_devname); - if (journal->j_flags & JBD2_ABORT_ON_SYNCDATA_ERR) - jbd2_journal_abort(journal, err); + "JBD2: Detected IO errors %d while flushing file data on %s\n", + err, journal->j_devname); err = 0; } |
