]> git.baikalelectronics.ru Git - kernel.git/commit
dm raid1: switch rh_in_sync to blocking in do_reads
authorJonathan Brassow <jbrassow@redhat.com>
Wed, 9 May 2007 09:33:08 +0000 (02:33 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:48 +0000 (12:30 -0700)
commit202f81fa711b95b3101e8363acca2a9e70c21e09
treee6f9b05361b4d15d6ce3ac21f11e69f7809d1780
parentc441bd689d9ffc6eea601f80cea03c55234c29aa
dm raid1: switch rh_in_sync to blocking in do_reads

The call to rh_in_sync() in do_reads() should be allowed to block.  It is in
the mirror worker thread which already permits blocking operations.  This will
be needed to support clustered mirroring which will perform network
operations.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/dm-raid1.c