Message ID | 20230130084147.122440-1-xiubli@redhat.com |
---|---|
Headers | show |
Series | ceph: drop the messages from MDS when unmouting | expand |
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@redhat.com wrote: > From: Xiubo Li <xiubli@redhat.com> > > 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(-) >
From: Xiubo Li <xiubli@redhat.com> 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(-)