diff options
| author | Nate Dailey <[email protected]> | 2015-02-12 12:02:09 -0500 |
|---|---|---|
| committer | NeilBrown <[email protected]> | 2015-02-16 14:49:26 +1100 |
| commit | ab713cdc6f70da62c254c4acf77a0cfcda87b7f5 (patch) | |
| tree | ec235d733d5b52006e31343e79acede6c2578f8b /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| parent | 53a6ab4d3f6d6dc87ec8f14998b4b5536ee2968c (diff) | |
md/raid1: round up to bdev_logical_block_size in narrow_write_error
This modifies raid1's narrow_write_error to round up block_sectors to the
device's logical block size.
This prevents sd complaining about "Bad block number requested" for non-512-byte
sector disks.
Signed-off-by: Nate Dailey <[email protected]>
Signed-off-by: NeilBrown <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions