summaryrefslogtreecommitdiffstats
path: root/firmware/WHENCE
diff options
context:
space:
mode:
authorIlya Dryomov2014-02-25 15:22:27 +0100
committerYan, Zheng2014-04-03 04:33:51 +0200
commitc647b8a8c6366f849c2a237bfe525cb1d316d5f4 (patch)
tree8f3385992b44ba6bb5bcb1d745bb6df4dd6b5bbf /firmware/WHENCE
parentlibceph: encode CEPH_OSD_OP_FLAG_* op flags (diff)
downloadkernel-qcow2-linux-c647b8a8c6366f849c2a237bfe525cb1d316d5f4.tar.gz
kernel-qcow2-linux-c647b8a8c6366f849c2a237bfe525cb1d316d5f4.tar.xz
kernel-qcow2-linux-c647b8a8c6366f849c2a237bfe525cb1d316d5f4.zip
libceph: add support for CEPH_OSD_OP_SETALLOCHINT osd op
This is primarily for rbd's benefit and is supposed to combat fragmentation: "... knowing that rbd images have a 4m size, librbd can pass a hint that will let the osd do the xfs allocation size ioctl on new files so that they are allocated in 1m or 4m chunks. We've seen cases where users with rbd workloads have very high levels of fragmentation in xfs and this would mitigate that and probably have a pretty nice performance benefit." SETALLOCHINT is considered advisory, so our backwards compatibility mechanism here is to set FAILOK flag for all SETALLOCHINT ops. Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com> Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'firmware/WHENCE')
0 files changed, 0 insertions, 0 deletions