On Thu, 2019-12-05 at 22:35 -0500, xiubli@xxxxxxxxxx wrote: > From: Xiubo Li <xiubli@xxxxxxxxxx> > > When reconnecting the session but if it is denied by the MDS due > to client was in blacklist or something else, kclient will receive > a session close reply, and we will never see the important log: > > "ceph: mds%d reconnect denied" > > And with the confusing log: > > "ceph: handle_session mds0 close 0000000085804730 state ??? seq 0" > > Let's keep the session state until its memories is released. > > Signed-off-by: Xiubo Li <xiubli@xxxxxxxxxx> > --- > fs/ceph/mds_client.c | 3 ++- > fs/ceph/mds_client.h | 3 ++- > 2 files changed, 4 insertions(+), 2 deletions(-) > Merged into ceph-client/testing. -- Jeff Layton <jlayton@xxxxxxxxxx>