]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw_file: don't expire directories being read
authorMatt Benjamin <mbenjamin@redhat.com>
Tue, 11 Apr 2017 10:42:07 +0000 (06:42 -0400)
committerNathan Cutler <ncutler@suse.com>
Tue, 4 Jul 2017 08:01:49 +0000 (10:01 +0200)
commitea3aec3334871c5952986fcf14aac61348f1cc00
tree3780fe2c8cce6c41cc4c6ffc6caef78903f31561
parent247f897c31f15c48fa0521311b1afc557e5a10ae
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>
(cherry picked from commit 007b7451c26716c51207c161dc347e9a00da53f1)
src/rgw/rgw_file.cc
src/rgw/rgw_file.h