Issue with bcache on top of RAID10
I've just fired up my test server with the latest git code, and I'm seeing this in the logs
Apr 22 18:54:29 test kernel: [ 169.015498] md/raid10:md10: make_request bug: can't convert block across chunks or bigger than 512k 260098047 4 Apr 22 18:54:30 test kernel: [ 170.015440] md/raid10:md10: make_request bug: can't convert block across chunks or bigger than 512k 260098047 4 Apr 22 18:54:31 test kernel: [ 171.015455] md/raid10:md10: make_request bug: can't convert block across chunks or bigger than 512k 260098047 4 Apr 22 18:54:32 test kernel: [ 172.015486] md/raid10:md10: make_request bug: can't convert block across chunks or bigger than 512k 260098047 4
It's triggering this code in /device/md/raid10.c in make_request()
/* Sanity check -- queue functions should prevent this happening */
if (bio->bi_vcnt != 1 ||
bio->bi_idx != 0)
goto bad_map;As I didn't see this with plain ext4 on the md device, but I do see it with ext4 on bcache0 on the md device I can only assume something funky is happening in bcache.
Happy to do anything to help.
Regards,
Brad