xiubli@xxxxxxxxxx writes: > From: Xiubo Li <xiubli@xxxxxxxxxx> > > V2: > - Improve the code by switching to wait_for_completion_killable_timeout() > when umounting, at the same add one umount_timeout option. Instead of adding yet another (undocumented!) mount option, why not re-use the already existent 'mount_timeout' instead? It's already defined and kept in 'struct ceph_options', and the default value is defined with the same value you're using, in CEPH_MOUNT_TIMEOUT_DEFAULT. Cheers, -- Luís > - Improve the inc/dec helpers for metadata/IO cases. > > > Xiubo Li (2): > ceph: drop the messages from MDS when unmounting > ceph: just wait the osd requests' callbacks to finish when unmounting > > fs/ceph/addr.c | 10 +++++ > fs/ceph/caps.c | 6 ++- > fs/ceph/mds_client.c | 14 +++++-- > fs/ceph/mds_client.h | 11 ++++- > fs/ceph/quota.c | 14 +++---- > fs/ceph/snap.c | 10 +++-- > fs/ceph/super.c | 99 +++++++++++++++++++++++++++++++++++++++++++- > fs/ceph/super.h | 7 ++++ > 8 files changed, 154 insertions(+), 17 deletions(-) > > -- > 2.40.1 >