ceph: limit osd write size
authorYan, Zheng <zyan@redhat.com>
Tue, 11 Jul 2017 09:34:46 +0000 (17:34 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 6 Sep 2017 17:56:41 +0000 (19:56 +0200)
commit95cca2b44e54b00a3ed6ed7dc869717cd6807e81
tree944f555f63a1b9641f2598703a562777437b0456
parentaa187926b739fb391f153335c7552c7a10d60e82
ceph: limit osd write size

OSD has a configurable limitation of max write size. OSD return
error if write request size is larger than the limitation. For now,
set max write size to CEPH_MSG_MAX_DATA_LEN. It should be small
enough.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/addr.c
fs/ceph/file.c
fs/ceph/super.c
fs/ceph/super.h