ceph: fix alignment of rasize
authorChengguang Xu <cgxu519@gmx.com>
Wed, 30 May 2018 02:13:11 +0000 (10:13 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 4 Jun 2018 18:46:01 +0000 (20:46 +0200)
commitc36ed50de2ad1649ce0369a4a6fc2cc11b20dfb7
tree2a1296ac11562900bfea6b2ea900c16a8fdf9064
parent73fb0949cf246b212ff63d692a0ec88db954bb35
ceph: fix alignment of rasize

On currently logic:
when I specify rasize=0~1 then it will be 4096.
when I specify rasize=2~4097 then it will be 8192.

Make it the same as rsize & wsize.

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/super.c