aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2009-08-17 19:52:36 +0200
committerJan Kara <[email protected]>2009-09-14 17:08:15 +0200
commit148f948ba877f4d3cdef036b1ff6d9f68986706a (patch)
treec07963f08bf8c2119ec00df64e4293e2e60acaa1 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parenteef99380679e20e7edc096aa4d8a98b875404d79 (diff)
vfs: Introduce new helpers for syncing after writing to O_SYNC file or IS_SYNC inode
Introduce new function for generic inode syncing (vfs_fsync_range) and use it from fsync() path. Introduce also new helper for syncing after a sync write (generic_write_sync) using the generic function. Use these new helpers for syncing from generic VFS functions. This makes O_SYNC writes to block devices acquire i_mutex for syncing. If we really care about this, we can make block_fsync() drop the i_mutex and reacquire it before it returns. CC: Evgeniy Polyakov <[email protected]> CC: [email protected] CC: Joel Becker <[email protected]> CC: Felix Blyakher <[email protected]> CC: [email protected] CC: Anton Altaparmakov <[email protected]> CC: [email protected] CC: OGAWA Hirofumi <[email protected]> CC: [email protected] CC: [email protected] Acked-by: Christoph Hellwig <[email protected]> Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions