diff options
author | NeilBrown <neilb@suse.de> | 2015-03-23 17:36:38 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-04-22 08:00:40 +1000 |
commit | 50c37b136a3807eda44afe16529b5af701ec49f5 (patch) | |
tree | 2248b7342bdd5c1ceb5c1a991e04ab3c30149cd4 /drivers/char | |
parent | d51e4fe6d68098d4361a6b6d41d8da727b1f1af4 (diff) | |
download | talos-op-linux-50c37b136a3807eda44afe16529b5af701ec49f5.tar.gz talos-op-linux-50c37b136a3807eda44afe16529b5af701ec49f5.zip |
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>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions