diff options
| author | Shaohua Li <[email protected]> | 2012-12-14 03:15:36 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2012-12-14 19:46:04 +0000 |
| commit | 8dd2cb7e880d2f77fba53b523c99133ad5054cfd (patch) | |
| tree | ea51e89f8c8bf9ca8e888d68ecf6732a52e8e99d /fs/proc/array.c | |
| parent | deadline: Allow 0ms deadline latency, increase the read speed (diff) | |
| download | kernel-8dd2cb7e880d2f77fba53b523c99133ad5054cfd.tar.gz kernel-8dd2cb7e880d2f77fba53b523c99133ad5054cfd.zip | |
block: discard granularity might not be power of 2
In MD raid case, discard granularity might not be power of 2, for example, a
4-disk raid5 has 3*chunk_size discard granularity. Correct the calculation for
such cases.
Reported-by: Neil Brown <[email protected]>
Signed-off-by: Shaohua Li <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
