Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1439880 - Attempt to unlink a directory with children produces a hang
Attempt to unlink a directory with children produces a hang
Status: CLOSED ERRATA
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: RGW (Show other bugs)
2.2
All All
unspecified Severity high
: rc
: 2.3
Assigned To: Matt Benjamin (redhat)
Ramakrishnan Periyasamy
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-04-06 14:18 EDT by Matt Benjamin (redhat)
Modified: 2017-07-30 12:03 EDT (History)
8 users (show)

See Also:
Fixed In Version: RHEL: ceph-10.2.7-2.el7cp Ubuntu: ceph_10.2.7-3redhat1xenial
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-06-19 09:31:45 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Ceph Project Bug Tracker 19435 None None None 2017-04-06 14:18 EDT
Red Hat Product Errata RHBA-2017:1497 normal SHIPPED_LIVE Red Hat Ceph Storage 2.3 bug fix and enhancement update 2017-06-19 13:24:11 EDT

  None (edit)
Description Matt Benjamin (redhat) 2017-04-06 14:18:58 EDT
Description of problem:

Attempt to unlink a directory with children produces a hang due to a missing unlock before returning errcode from unlink


How reproducible:
100%


Steps to Reproduce:
1. mkdir /mnt/dir1
2. touch /mnt/dir1/file1
3. rmdir /mnt/dir1
rmdir: failed to remove ‘/mnt/dir1’: Directory not empty
4. ls /mnt <-- hung


Additional info:
Backport prepped.
Comment 7 errata-xmlrpc 2017-06-19 09:31:45 EDT
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, 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/RHBA-2017:1497

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