mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
md: don't require sync_min to be a multiple of chunk_size.
There is really no need for sync_min to be a multiple of chunk_size, and values read from here often aren't. That means you cannot read a value and expect to be able to write it back later. So remove the chunk_size check, and round down to a multiple of 4K, to be sure everything works with 4K-sector devices. Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
d51e4fe6d6
commit
50c37b136a
1 changed files with 2 additions and 11 deletions
Loading…
Add table
Add a link
Reference in a new issue