mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[PATCH] md: remove unnecessary printk when raid5 gets an unaligned read.
raid5_mergeable_bvec tries to ensure that raid5 never sees a read request that does not fit within just one chunk. However as we must always accept a single-page read, that is not always possible. So when "in_chunk_boundary" fails, it might be unusual, but it is not a problem and printing a message every time is a bad idea. Signed-off-by: Neil Brown <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
fe33f6f152
commit
c20086de93
1 changed files with 1 additions and 1 deletions
|
|
@ -2680,7 +2680,7 @@ static int chunk_aligned_read(request_queue_t *q, struct bio * raid_bio)
|
|||
mdk_rdev_t *rdev;
|
||||
|
||||
if (!in_chunk_boundary(mddev, raid_bio)) {
|
||||
printk("chunk_aligned_read : non aligned\n");
|
||||
PRINTK("chunk_aligned_read : non aligned\n");
|
||||
return 0;
|
||||
}
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue