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

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

 



With this I have passed all the xfstests-dev test cases with the test_dummy_encryption option enabled, more detail please see:

https://tracker.ceph.com/issues/58126?issue_count=91&issue_position=7&next_issue_id=58489&prev_issue_id=58602#note-9

Thanks

- Xiubo

On 30/01/2023 16:41, xiubli@xxxxxxxxxx wrote:
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(-)

--
Best Regards,

Xiubo Li (李秀波)

Email: xiubli@xxxxxxxxxx/xiubli@xxxxxxx
Slack: @Xiubo Li




[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