Back to bug 2135573

Who When What Removed Added
Red Hat One Jira (issues.redhat.com) 2022-10-18 02:49:25 UTC Link ID Red Hat Issue Tracker RHCEPH-5453
Ram Raja 2022-10-18 02:52:24 UTC Status NEW ASSIGNED
Venky Shankar 2022-10-18 05:06:06 UTC Assignee vshankar rraja
Ram Raja 2022-10-18 23:20:39 UTC Target Release 5.3z1 6.0
Greg Farnum 2022-10-19 14:23:50 UTC CC gfarnum
Flags needinfo?(rraja)
Ram Raja 2022-10-19 20:26:19 UTC Flags needinfo?(rraja)
Venky Shankar 2022-10-20 04:39:25 UTC CC vshankar
Status ASSIGNED POST
Veera Raghava Reddy 2022-10-20 15:11:25 UTC Fixed In Version ceph-17.2.3-55.el9cp
Status POST MODIFIED
CC tserlin
Flags needinfo?(hyelloji)
Flags needinfo?(vereddy)
CC vereddy
Flags needinfo?(hyelloji) needinfo?(vereddy)
errata-xmlrpc 2022-10-20 15:18:03 UTC Status MODIFIED ON_QA
Ram Raja 2022-10-21 01:17:51 UTC Summary File system sync issues over Ganesha NFS client unable to see newly created files when listing directory contents in a FS subvolume clone
Eliska 2022-10-24 09:04:01 UTC Flags needinfo?(rraja)
CC ekristov
Ram Raja 2022-10-28 19:28:01 UTC Flags needinfo?(rraja)
Doc Type If docs needed, set a value Bug Fix
Doc Text Cause: Ceph file system's MDS doesn't increment a directory inode's change attribute during file system operations that only change the directory inode's ctime.

Consequence: NFS kernel client doesn't invalidate its readdir cache when its supposed to as the NFS-Ganesha server backed by CephFS sometimes reports incorrect change attribute value for a directory inode. As a result, NFS client may list stale directory contents for NFS-Ganesha exports backed by Ceph file system.

Fix: Fix Ceph file system's MDS to increment a directory inode's change attribute during operations that only change the directory inode's ctime.

Result: Directory listing from a NFS client works as expected for NFS-Ganesha server exports backed by CephFS.
Eliska 2022-11-08 09:40:57 UTC Flags needinfo?(rraja)
Docs Contact ekristov
Doc Text Cause: Ceph file system's MDS doesn't increment a directory inode's change attribute during file system operations that only change the directory inode's ctime.

Consequence: NFS kernel client doesn't invalidate its readdir cache when its supposed to as the NFS-Ganesha server backed by CephFS sometimes reports incorrect change attribute value for a directory inode. As a result, NFS client may list stale directory contents for NFS-Ganesha exports backed by Ceph file system.

Fix: Fix Ceph file system's MDS to increment a directory inode's change attribute during operations that only change the directory inode's ctime.

Result: Directory listing from a NFS client works as expected for NFS-Ganesha server exports backed by CephFS.
.Directory listing from a NFS client now works as expected for NFS-Ganesha exports

Previously, Ceph File System (CephFS) Metadata Server (MDS) would not increment the change attribute, (`change_attr`) of a directory inode during CephFS operations which only change the directory inode's `ctime`.
Therefore, a NFS kernel client would not invalidate its `readdir` cache when it is supposed to.
This is because the NFS Ganesha server backed by CephFS would sometimes report incorrect change attribute value of the directory inode.
As a result, the NFS client would list stale directory contents for NFS Ganesha exports backed by CephFS.

With this fix, CephFS MDS now increments the change attribute of the directory inode during operations and the directory listing from the NFS client now works as expected for NFS Ganesha server exports backed by CephFS.
Eliska 2022-11-08 09:42:17 UTC Blocks 2126050
Pasi Karkkainen 2022-11-08 12:22:14 UTC CC pasik
Ram Raja 2022-11-08 13:02:48 UTC Flags needinfo?(rraja)
Hemanth Kumar 2022-11-22 17:07:35 UTC Status ON_QA VERIFIED
Red Hat Bugzilla 2022-12-31 19:50:27 UTC CC hyelloji
QA Contact hyelloji
Red Hat Bugzilla 2023-01-01 05:39:34 UTC CC tserlin
Red Hat Bugzilla 2023-01-01 08:46:23 UTC CC vdas
Red Hat Bugzilla 2023-01-01 08:48:09 UTC CC vereddy
Red Hat Bugzilla 2023-01-01 08:49:23 UTC CC vshankar
Alasdair Kergon 2023-01-04 04:57:17 UTC CC hyelloji
Alasdair Kergon 2023-01-04 05:10:46 UTC QA Contact hyelloji
Alasdair Kergon 2023-01-04 05:54:53 UTC CC vdas
Alasdair Kergon 2023-01-04 05:57:59 UTC CC vshankar
Alasdair Kergon 2023-01-04 06:29:04 UTC CC vereddy
Red Hat Bugzilla 2023-01-09 08:30:46 UTC CC ceph-eng-bugs
Alasdair Kergon 2023-01-09 19:43:36 UTC CC ceph-eng-bugs
Red Hat Bugzilla 2023-03-01 05:21:46 UTC Assignee rraja vshankar
errata-xmlrpc 2023-03-20 18:58:58 UTC Resolution --- ERRATA
Status VERIFIED CLOSED
Last Closed 2023-03-20 18:58:58 UTC
errata-xmlrpc 2023-03-20 18:59:34 UTC Link ID Red Hat Product Errata RHBA-2023:1360

Back to bug 2135573