]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw_file: don't expire directories being read 14458/head
authorMatt Benjamin <mbenjamin@redhat.com>
Tue, 11 Apr 2017 10:42:07 +0000 (06:42 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Thu, 13 Apr 2017 15:30:31 +0000 (11:30 -0400)
commit007b7451c26716c51207c161dc347e9a00da53f1
tree0554822e80887b507e5c686746a38e60a52af538
parente0191d74e3aef06bf300df045a53a3952a71f651
rgw_file: don't expire directories being read

If a readdir expire event turns out to be older than last_readdir,
just reschedule it (but actually, we should just discard it, as
another expire event must be in queue.

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