ceph: preallocate buffer for readdir reply
authorYan, Zheng <zheng.z.yan@intel.com>
Sat, 29 Mar 2014 05:41:15 +0000 (13:41 +0800)
committerSage Weil <sage@inktank.com>
Sat, 5 Apr 2014 04:08:22 +0000 (21:08 -0700)
Preallocate buffer for readdir reply. Limit number of entries in
readdir reply according to the buffer size.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
fs/ceph/dir.c
fs/ceph/mds_client.c
fs/ceph/mds_client.h

diff --cc fs/ceph/dir.c
Simple merge
Simple merge
Simple merge