]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os: add ObjectStore::get_max_attr_name_length()
authorSage Weil <sage@redhat.com>
Fri, 18 Jul 2014 17:42:11 +0000 (10:42 -0700)
committerSage Weil <sage@redhat.com>
Fri, 18 Jul 2014 17:44:05 +0000 (10:44 -0700)
commit7c0b2a05b962b61a8778f97a6e36883d53a0724a
tree433a69c43e32493829df23b64ebee1cc95e8d34c
parent7e0aca18a04a3848af77f5dd2093dc2e009386ec
os: add ObjectStore::get_max_attr_name_length()

Most importantly, capture that attrs on FileStore can't be more than about
100 chars.  The Linux xattrs can only be 128 chars, but we also have some
prefixing we do.

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