]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/KernelDevice: fix RW_IO_MAX constant 31397/head
authorSage Weil <sage@redhat.com>
Fri, 9 Aug 2019 14:21:17 +0000 (09:21 -0500)
committerJan Fajerski <jfajerski@suse.com>
Tue, 5 Nov 2019 05:59:07 +0000 (06:59 +0100)
commit207806abaa91259d9bb726c2555e7e21ac541527
tree3e1a8df777d93a8a9176a64d6d43e0af3893e54a
parent1efb1c68e80851b3ec4509a89689e00937ef0db1
os/bluestore/KernelDevice: fix RW_IO_MAX constant

This depends on the page size.  See:

https://github.com/torvalds/linux/blob/6e6d05360b80f196ed07061327f03346b204abea/include/linux/fs.h#L2305

https://github.com/torvalds/linux/blob/30d1d92a888d03681b927c76a35181b4eed7071f/tools/virtio/linux/kernel.h#L23

Fixes 4d33114a40d5ae0d541c36175977ca22789a3b88

Fixes: https://tracker.ceph.com/issues/41188
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 6f7179daa6c17907f8fe38150183008e2d096109)
src/os/bluestore/KernelDevice.h