]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/FileStore: fix max object name limit 2111/head
authorSage Weil <sage@redhat.com>
Sun, 20 Jul 2014 14:48:47 +0000 (07:48 -0700)
committerSage Weil <sage@redhat.com>
Sun, 20 Jul 2014 14:48:47 +0000 (07:48 -0700)
commit2aa3edcb139c77d606569e79807d1bacf93dba0a
tree3701c64cfd760a7a1c267ed9f0c6024f0a862515
parentbd3367eafb6568d96c9d1d28653af00d4bd94593
os/FileStore: fix max object name limit

Our max object name is not limited by file name size, but by the length of
the name we can stuff in an xattr.  That will vary from file system to
file system, so just make this 4096.  In practice, it should be limited
via the global tunable, if it is adjusted at all.

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/FileStore.cc
src/os/FileStore.h