]> asedeno.scripts.mit.edu Git - linux.git/commit
ceph: add request to i_unsafe_dirops when getting unsafe reply
authorYan, Zheng <zyan@redhat.com>
Tue, 27 Oct 2015 09:18:00 +0000 (17:18 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 2 Nov 2015 22:36:48 +0000 (23:36 +0100)
commit4c06ace81a60636dec358c288ef6aaf3aa6dc599
tree08b483ee257ddba892f29aec5310a6e741c197ed
parentcbf99a11fb14db0835acd79ecd7469d37e398660
ceph: add request to i_unsafe_dirops when getting unsafe reply

Previously we add request to i_unsafe_dirops when registering
request. So ceph_fsync() also waits for imcomplete requests.
This is unnecessary, ceph_fsync() only needs to wait unsafe
requests.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/mds_client.c