aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHidehiro Kawai <[email protected]>2008-07-25 01:46:30 -0700
committerLinus Torvalds <[email protected]>2008-07-25 10:53:32 -0700
commitcbe5f466f6995e10a10c7ae66d6dc8608f08a6b8 (patch)
tree237bbbda6ddd6e38dc7004cd870cbce7af0684c4 /tools/perf/scripts/python
parent8ef2720397bb813d4985405a5ae7b8ad6474188b (diff)
jbd: don't abort if flushing file data failed
In ordered mode, the current jbd aborts the journal if a file data buffer has an error. But this behavior is unintended, and we found that it has been adopted accidentally. This patch undoes it and just calls printk() instead of aborting the journal. Additionally, set AS_EIO into the address_space object of the failed buffer which is submitted by journal_do_submit_data() so that fsync() can get -EIO. Missing error checkings are also added to inform errors on file data buffers to the user. The following buffers are targeted. (a) the buffer which has already been written out by pdflush (b) the buffer which has been unlocked before scanned in the t_locked_list loop [[email protected]: improve grammar in a printk] Signed-off-by: Hidehiro Kawai <[email protected]> Acked-by: Jan Kara <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions