From: Jan Kara Date: Thu, 5 Aug 2010 18:32:45 +0000 (+0200) Subject: ocfs2: Flush drive's caches on fdatasync X-Git-Tag: v2.6.36-rc4~68^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04eda1a18019bb387dc7e97ee99979dd88dc608a;p=pandora-kernel.git ocfs2: Flush drive's caches on fdatasync When 'barrier' mount option is specified, we have to issue a cache flush during fdatasync(2). We have to do this even if inode doesn't have I_DIRTY_DATASYNC set because we still have to get written *data* to disk so that they are not lost in case of crash. Acked-by: Tao Ma Signed-off-by: Jan Kara Singed-off-by: Tao Ma --- Reading git-diff-tree failed