]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw_file: advance_mtime() should consider namespace expiration 28632/head
authorMatt Benjamin <mbenjamin@redhat.com>
Tue, 18 Jun 2019 11:39:09 +0000 (07:39 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Tue, 18 Jun 2019 13:15:49 +0000 (09:15 -0400)
commitfc14eeb6dbf7deaf11a70a3d3b48ce41998d4e39
tree6cb3da4ca08337e6a286541a60a8c927936ccee7
parentc634bd6f0c76307aa5d3eee0c1947cbb059b37ee
rgw_file: advance_mtime() should consider namespace expiration

Predictably, slow NFS operations like READDIR will overlap mtime
advance, so don't advance faster than the nfs namespace
expiration timer.

Fixes: http://tracker.ceph.com/issues/40415
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_file.cc
src/rgw/rgw_file.h