]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw_file: all directories are virtual with respect to contents
authorMatt Benjamin <mbenjamin@redhat.com>
Fri, 7 Jun 2019 14:20:01 +0000 (10:20 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Fri, 7 Jun 2019 18:59:53 +0000 (14:59 -0400)
commitb4c7d0faeff667c25ab255786999ef0cc844ea2b
treeafdd0a14e7638b2b44c0ad281d22c9013d469046
parent4c335b31fe9f647544e0437fd4f9e168e16f5e5b
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>
src/rgw/rgw_file.cc
src/rgw/rgw_file.h