]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: flush dirty inodes before proceeding with remount
authorJeff Layton <jlayton@kernel.org>
Tue, 7 May 2019 13:20:54 +0000 (09:20 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 7 May 2019 17:43:05 +0000 (19:43 +0200)
commitb43d4e938d6c3789dcaf950f95b94ae2b0b09d67
tree831e155862349aa631ef1cf0b17bde23fe190eff
parentae62c8b2bc930da070a540dfcded2ff6d3962b24
ceph: flush dirty inodes before proceeding with remount

xfstest generic/452 was triggering a "Busy inodes after umount" warning.
ceph was allowing the mount to go read-only without first flushing out
dirty inodes in the cache. Ensure we sync out the filesystem before
allowing a remount to proceed.

Cc: stable@vger.kernel.org
Link: http://tracker.ceph.com/issues/39571
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/super.c