[Bug 107301] system hang during ext4 xattr operation

bugzilla-daemon
2015-11-07T15:24:38Z

--- Comment #5 from Laurent GUERBY <laurent@guerby.net> ---
My reading of the mbcache code is that

cache->c_max_entries = bucket_count << 4

is limiting to on average 16 entries per bucket. For ext4 bucket_bits is 10 so
1024 buckets.

Once the cache is full which is very likely situation given ceph use of xattr
with differing values all ceph threads will compete for the global mbcache
locks on *each* xattr operation.

Am I correct here?

ceph is designed to have one process managing one non shared device the mbcache
design is very likely limiting scalability here by having global locks. Plus
probably has a locking bug.