]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] md: remove unnecessary printk when raid5 gets an unaligned read.
authorNeilBrown <neilb@suse.de>
Fri, 26 Jan 2007 08:57:14 +0000 (00:57 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 26 Jan 2007 21:51:00 +0000 (13:51 -0800)
commite2bfdbc683a1b727b2a79cf12bf03182ec54061b
tree281e7863e9702b16520b5cb2b109e234355254f8
parent74389a6694914f67077f9e26db281ea1fdf9559d
[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 <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/raid5.c