summaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon/ibmaem
diff options
context:
space:
mode:
authorIlya Dryomov <ilya.dryomov@inktank.com>2014-01-31 17:54:26 +0200
committerYan, Zheng <zheng.z.yan@intel.com>2014-04-03 10:33:50 +0800
commit9d521470a40f16110bd31018034155c60c1a1275 (patch)
tree0dd56756c47839cd9605262ddca0f91c12c07c67 /Documentation/hwmon/ibmaem
parent455c6fdbd219161bd09b1165f11699d6d73de11c (diff)
downloadblackbird-op-linux-9d521470a40f16110bd31018034155c60c1a1275.tar.gz
blackbird-op-linux-9d521470a40f16110bd31018034155c60c1a1275.zip
libceph: a per-osdc crush scratch buffer
With the addition of erasure coding support in the future, scratch variable-length array in crush_do_rule_ary() is going to grow to at least 200 bytes on average, on top of another 128 bytes consumed by rawosd/osd arrays in the call chain. Replace it with a buffer inside struct osdmap and a mutex. This shouldn't result in any contention, because all osd requests were already serialized by request_mutex at that point; the only unlocked caller was ceph_ioctl_get_dataloc(). Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'Documentation/hwmon/ibmaem')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud