ceph: define 'end/complete' in readdir reply as bit flags
authorYan, Zheng <zyan@redhat.com>
Wed, 27 Apr 2016 09:48:30 +0000 (17:48 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 25 May 2016 23:15:35 +0000 (01:15 +0200)
commit956d39d631dbcf7b57854873a24e309047f2a7f5
tree1a813b9bf40a2eb0db472fcccfb9932c350315c5
parent2a5beea3f1b6544d6c72ea220e860a2eda2f9104
ceph: define 'end/complete' in readdir reply as bit flags

Set a flag in readdir request, which indicates that client interprets
'end/complete' as bit flags. So that mds can reply additional flags in
readdir reply.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/dir.c
fs/ceph/mds_client.c
fs/ceph/mds_client.h
include/linux/ceph/ceph_fs.h