[PATCH v3 0/2] ceph: drop the messages from MDS when unmouting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Xiubo Li <xiubli@xxxxxxxxxx>

V3:
- Fix the sequence of removing the requests from osdc and calling the
req->r_callback().
- Add a block counter to block the unmounting if there is any inflight
cap/snap/lease reply message is running.

V2:
- Fix it in ceph layer.

Xiubo Li (2):
  libceph: defer removing the req from osdc just after req->r_callback
  ceph: drop the messages from MDS when unmounting

 fs/ceph/caps.c        |  5 +++++
 fs/ceph/mds_client.c  | 12 +++++++++-
 fs/ceph/mds_client.h  | 11 ++++++++-
 fs/ceph/quota.c       |  4 ++++
 fs/ceph/snap.c        |  6 +++++
 fs/ceph/super.c       | 52 +++++++++++++++++++++++++++++++++++++++++++
 fs/ceph/super.h       |  2 ++
 net/ceph/osd_client.c | 43 ++++++++++++++++++++++++++++-------
 8 files changed, 125 insertions(+), 10 deletions(-)

-- 
2.31.1




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Ceph Dev]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux