summaryrefslogtreecommitdiffstats
path: root/fs/nfs/sysctl.c
diff options
context:
space:
mode:
authorHidehiro Kawai <hidehiro.kawai.ez@hitachi.com>2008-08-01 04:26:04 +0200
committerTheodore Ts'o <tytso@mit.edu>2008-08-01 04:26:04 +0200
commite9e34f4e8f42177c66754fec1edfd35e70c18f99 (patch)
tree659e21aa3ea54c7643c0e3112aa3aba54ca7b4cf /fs/nfs/sysctl.c
parentext4: don't read inode block if the buffer has a write error (diff)
downloadlinux-e9e34f4e8f42177c66754fec1edfd35e70c18f99.tar.xz
linux-e9e34f4e8f42177c66754fec1edfd35e70c18f99.zip
jbd2: don't abort if flushing file data failed
In ordered mode, the current jbd2 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. Unlike a similar patch for ext3/jbd, file data buffers are written via generic_writepages(). But we also need to set AS_EIO into their mappings because wait_on_page_writeback_range() clears AS_EIO before a user process sees it. Signed-off-by: Hidehiro Kawai <hidehiro.kawai.ez@hitachi.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/nfs/sysctl.c')
0 files changed, 0 insertions, 0 deletions