]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: clear scatterlock's flushed when removing dirty
authorYan, Zheng <zyan@redhat.com>
Tue, 7 Aug 2018 03:39:04 +0000 (11:39 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 17 Aug 2018 01:44:23 +0000 (09:44 +0800)
commit2788b132a842235282dcc82acc6db9cdb8b28f79
treee9e6509b0be4d32e06bf675ec59b43a5d09551b1
parentda7fc1ad2cf08d1a7cc5754257a8009181b58ff7
mds: clear scatterlock's flushed when removing dirty

If mds imports scatterlock's parent inode later, the leftover flushed
flag may prevent Locker::eval_gather from calling scatter_writebehind
and result incorrect dirstat/neststat.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/mds/ScatterLock.h