diff options
| author | Artem Blagodarenko <[email protected]> | 2013-06-03 21:40:53 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-06-03 11:26:36 -0700 |
| commit | 9d8654397d0dcb1885457a2188b59995f2219676 (patch) | |
| tree | dd0cfb6e65179877f78f47603be0935a18cec1d9 /tools/perf/scripts/python/bin | |
| parent | e377988ed83ebbd871cea36ef5cf47f2360b7bfc (diff) | |
staging/lustre/ost: Ensure dirty flushed on fiemap ioctl
Data corruption is possible if cp(coreutils) uses FIEMAP to obtain
data holes in shared file, since there could be dirty cache on
other clients which hasn't been flushed back.
To ensure all the dirty on remote clients being flushed back on
fiemap ioctl, we'd acquire ldlm lock on server side for fiemap,
unless the local client (which invoke fiemap) has cached lock.
[picked osc part for upstream kernel submission]
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3219
Xyratex-bug-id: MRP-1001
Lustre-change: http://review.whamcloud.com/6127
Signed-off-by: Artem Blagodarenko <[email protected]>
Signed-off-by: Niu Yawei <[email protected]>
Reviewed-by: Nathaniel Clark <[email protected]>
Reviewed-by: Jinshan Xiong <[email protected]>
Reviewed-by: Andreas Dilger <[email protected]>
Signed-off-by: Peng Tao <[email protected]>
Signed-off-by: Andreas Dilger <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions