diff options
author | Jeff Layton <jlayton@kernel.org> | 2019-05-07 09:20:54 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-11 12:23:46 +0200 |
commit | a7929c94860ea760c778957275f8cb1699fa39d4 (patch) | |
tree | 9fbb1438284550026eb12a8c1bfd0ad0c3d489b8 /init | |
parent | 3c99cd905ba9e75bb9729ac17df6d59836c55a09 (diff) | |
download | linux-stable-a7929c94860ea760c778957275f8cb1699fa39d4.tar.gz linux-stable-a7929c94860ea760c778957275f8cb1699fa39d4.tar.bz2 linux-stable-a7929c94860ea760c778957275f8cb1699fa39d4.zip |
ceph: flush dirty inodes before proceeding with remount
commit 00abf69dd24f4444d185982379c5cc3bb7b6d1fc upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions