]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
kclient: specify smallish blksize for directories
authorSage Weil <sage@newdream.net>
Tue, 16 Jun 2009 23:04:12 +0000 (16:04 -0700)
committerSage Weil <sage@newdream.net>
Tue, 16 Jun 2009 23:31:38 +0000 (16:31 -0700)
commit92c48b0374bfe6d96236c68faa7d2cbd5434d6ea
tree1fd1bf37d0af8c6ba480e83ca6d8f7687506c9da
parenta07894d17ecd1c52f00490c758eb73e1994cc7c3
kclient: specify smallish blksize for directories

This is mainly just because /bin/ls will use the size, or blocks,
or blksize to decide how big of a buffer to allocate for getdents,
and the default of 4MB is unreasonably big.  64k seems like an
okay number, I guess.
src/kernel/inode.c