diff options
author | Jeff Layton <jlayton@kernel.org> | 2021-09-30 08:33:13 -0400 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2021-10-19 09:36:06 +0200 |
commit | 98d0a6fb7303a6f4a120b8b8ed05b86ff5db53e8 (patch) | |
tree | b7129b5a5b28cb06307d8757f8efd203c229118b /fs/ceph/io.h | |
parent | 519d81956ee277b4419c723adfb154603c2565ba (diff) |
ceph: skip existing superblocks that are blocklisted or shut down when mounting
Currently when mounting, we may end up finding an existing superblock
that corresponds to a blocklisted MDS client. This means that the new
mount ends up being unusable.
If we've found an existing superblock with a client that is already
blocklisted, and the client is not configured to recover on its own,
fail the match. Ditto if the superblock has been forcibly unmounted.
While we're in here, also rename "other" to the more conventional "fsc".
Cc: stable@vger.kernel.org
URL: https://bugzilla.redhat.com/show_bug.cgi?id=1901499
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/io.h')
0 files changed, 0 insertions, 0 deletions