Bug 1593123 - [CephFS]: missing dentries in ceph-fuse readdir result
Summary: [CephFS]: missing dentries in ceph-fuse readdir result
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 3.0
Hardware: All
OS: All
low
high
Target Milestone: z5
: 3.0
Assignee: Patrick Donnelly
QA Contact: subhash
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-20 06:49 UTC by Yan, Zheng
Modified: 2018-08-09 18:27 UTC (History)
5 users (show)

Fixed In Version: RHEL: ceph-12.2.4-32 Ubuntu: ceph_12.2.4-36redhat1xenial
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-09 18:27:11 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 24049 0 None None None 2018-06-20 06:48:59 UTC
Red Hat Product Errata RHBA-2018:2375 0 None None None 2018-08-09 18:27:42 UTC

Description Yan, Zheng 2018-06-20 06:49:00 UTC
Description of problem:

readdir may get stale result after ceph-fuse's session become stale

How reproducible:


Steps to Reproduce:
1. create ceph-fuse mounts, create an empty directory, 'ls' the empty directory from both mount points. 
2. send signal STOP to one ceph-fuse, wait until its session stable become stale
3. create a file in the directory from mount point of another ceph-fuse 
4. send signal CONT to the stopped ceph-fuse, 'ls' the directory from from mount point of the resumed ceph-fuse.

Actual results:
'ls' result does not contain the new file 


Expected results:
'ls' result contains the new file
 


Additional info:

Comment 3 Yan, Zheng 2018-06-20 07:28:10 UTC
zhyan-laptop:ceph zhyan$ git push rh-ceph ceph-3.0-rhel-patches 
Counting objects: 62, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (57/57), done.
Writing objects: 100% (62/62), 11.35 KiB | 726.00 KiB/s, done.
Total 62 (delta 54), reused 5 (delta 5)
remote: Resolving deltas: 100% (54/54)
remote: Processing changes: refs: 1, done    
To ssh://code.engineering.redhat.com/ceph/.git
   0b3592f04c..1e9171374c  ceph-3.0-rhel-patches -> ceph-3.0-rhel-patches

Comment 13 subhash 2018-08-03 10:56:14 UTC
followed the steps in Desc ,the resumed ceph-fuse client has the newly created file in it,moving to verified.
Build: ceph version 12.2.4-45redhat1xenial

Comment 15 errata-xmlrpc 2018-08-09 18:27:11 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, 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-2018:2375


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