]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw_file: skip object policy read for ListBucket operations 16034/head
authorGui Hecheng <guihecheng@cmss.chinamobile.com>
Thu, 29 Jun 2017 06:39:55 +0000 (14:39 +0800)
committerGui Hecheng <guihecheng@cmss.chinamobile.com>
Thu, 29 Jun 2017 08:30:24 +0000 (16:30 +0800)
commit53dfb74d421c360e8870417af359562f08c88cbb
tree10745f9b9e6efc1596d83eea29462a1beeb55f15
parent9bb2b5e75b34ec9ee6a7f198170d6e20c7b4746b
rgw_file: skip object policy read for ListBucket operations

We don't need to read read object policy for a ListBucket operation
(RGWReaddir, RGWRMdirCheck, RGWStatLeaf).
Also, there are "virtual" directories that do not have a corresponding
object, read object policy on them results in ENOENT for RGWStatLeaf.

Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
src/rgw/rgw_file.h