diff options
| author | Yan, Zheng <[email protected]> | 2013-03-01 10:55:39 +0800 |
|---|---|---|
| committer | Sage Weil <[email protected]> | 2013-05-01 21:16:10 -0700 |
| commit | 6070e0c1e2b515ad5edc2f8224031b051bd08109 (patch) | |
| tree | 2a9bb6aea63854927ce03a2ecee8ccaa6b914008 /include/linux/debugobjects.h | |
| parent | 7971bd92baf729fcebe04d7330ac22dc668d0261 (diff) | |
ceph: don't early drop Fw cap
ceph_aio_write() has an optimization that marks CEPH_CAP_FILE_WR
cap dirty before data is copied to page cache and inode size is
updated. The optimization avoids slow cap revocation caused by
balance_dirty_pages(), but introduces inode size update race. If
ceph_check_caps() flushes the dirty cap before the inode size is
updated, MDS can miss the new inode size. So just remove the
optimization.
Signed-off-by: Yan, Zheng <[email protected]>
Reviewed-by: Greg Farnum <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions