Bug 2182613 - client: fix CEPH_CAP_FILE_WR caps reference leakage in _write()
Summary: client: fix CEPH_CAP_FILE_WR caps reference leakage in _write()
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 6.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 6.1
Assignee: Xiubo Li
QA Contact: Hemanth Kumar
Akash Raj
URL:
Whiteboard:
: 2182616 (view as bug list)
Depends On:
Blocks: 2192813
TreeView+ depends on / blocked
 
Reported: 2023-03-29 04:21 UTC by Xiubo Li
Modified: 2023-06-15 09:17 UTC (History)
5 users (show)

Fixed In Version: ceph-17.2.6-11.el9cp
Doc Type: Bug Fix
Doc Text:
.MDS no longer gets indefinitely stuck while waiting for the cap revocation acknowledgement Previously, if `__setattrx()` failed, the `_write()` would retain the `CEPH_CAP_FILE_WR` caps reference, the MDS would be indefinitely stuck waiting for the cap revocation acknowledgment. It would also cause other clients' requests to be stuck indefinitely. With this fix, the `CEPH_CAP_FILE_WR` caps reference is released if the `__setattrx()` fails and MDS' caps revoke request is not stuck.
Clone Of:
Environment:
Last Closed: 2023-06-15 09:17:19 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 58717 0 None None None 2023-03-29 04:21:33 UTC
Red Hat Issue Tracker RHCEPH-6343 0 None None None 2023-03-29 04:24:43 UTC

Description Xiubo Li 2023-03-29 04:21:33 UTC
If the __setattrx() fails it will leave the CEPH_CAP_FILE_WR caps
    reference kept.

The tracker is https://tracker.ceph.com/issues/58717.

Comment 1 Greg Farnum 2023-04-10 15:21:43 UTC
*** Bug 2182616 has been marked as a duplicate of this bug. ***

Comment 10 errata-xmlrpc 2023-06-15 09:17:19 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat Ceph Storage 6.1 security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:3623


Note You need to log in before you can comment on or make changes to this bug.