diff options
author | Omar Sandoval <osandov@fb.com> | 2017-09-05 14:24:47 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-09-06 11:08:49 -0600 |
commit | bf09375337077b692d21d062c30697c86f2872d3 (patch) | |
tree | 5dfcb6b5821c762d27ae0fab4ca9f72bfc18f2b7 /drivers/md/bcache | |
parent | 9276717b9e297a62d1151a43d1cd286213f68eb7 (diff) |
loop: set physical block size to logical block size
Commit 6c6b6f28b333 ("loop: set physical block size to PAGE_SIZE")
caused mkfs.xfs to barf on ppc64 [1]. Always using PAGE_SIZE as the
physical block size still makes the most sense semantically, but let's
just lie and always set it to the same value as the logical block size
(same goes for io_min). In the future we might want to at least bump up
io_min to PAGE_SIZE but I'm sick of these stupid changes so let's play
it safe.
1: https://marc.info/?l=linux-xfs&m=150459024723753&w=2
Tested-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/bcache')
0 files changed, 0 insertions, 0 deletions