diff options
author | Yan, Zheng <zyan@redhat.com> | 2019-07-25 20:16:47 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2019-09-16 12:06:24 +0200 |
commit | 131d7eb4faa1fc06b08b633aff0b59ae85f1938e (patch) | |
tree | 3d9fae4a3ef8e3d6eac0614a91cb83ac33583f4b /mm/zbud.c | |
parent | 81f148a910045cd0a139f589a0b42764b172f8f5 (diff) | |
download | linux-stable-131d7eb4faa1fc06b08b633aff0b59ae85f1938e.tar.gz linux-stable-131d7eb4faa1fc06b08b633aff0b59ae85f1938e.tar.bz2 linux-stable-131d7eb4faa1fc06b08b633aff0b59ae85f1938e.zip |
ceph: auto reconnect after blacklisted
Make client use osd reply and session message to infer if itself is
blacklisted. Client reconnect to cluster using new entity addr if it
is blacklisted. Auto reconnect is limited to once every 30 minutes.
Auto reconnect is disabled by default. It can be enabled/disabled by
recover_session=<no|clean> mount option. In 'clean' mode, client drops
any dirty data/metadata, invalidates page caches and invalidates all
writable file handles. After reconnect, file locks become stale because
MDS loses track of them. If an inode contains any stale file locks,
read/write on the indoe are not allowed until applications release all
stale file locks.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'mm/zbud.c')
0 files changed, 0 insertions, 0 deletions