]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw_file: all directories are virtual with respect to contents 28887/head
authorMatt Benjamin <mbenjamin@redhat.com>
Fri, 7 Jun 2019 14:20:01 +0000 (10:20 -0400)
committerPrashant D <pdhange@redhat.com>
Thu, 4 Jul 2019 23:39:44 +0000 (19:39 -0400)
commita46dd329b9fea6127220d3ff769d834ebc7df03f
treeca62d7c713d1c115af4683f209c15221246c58fd
parent483fa005a092c0e69cbb01ed427753e44894b6a7
rgw_file: all directories are virtual with respect to contents

This change causes directory handles to always report an mtime of
"now."  This is not an invalidate per se--it interacts with the
nfs implementation to produce that result when the implementation
updates its cached attributes.  Hence, it can be modulated by timers
or other rules governing attribute caching at the upper layer.

Fixes: http://tracker.ceph.com/issues/40204
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit b4c7d0faeff667c25ab255786999ef0cc844ea2b)
src/rgw/rgw_file.cc
src/rgw/rgw_file.h