]> err.no Git - linux-2.6/commit
block: disable IRQs until data is written to relay channel
authorCarl Henrik Lunde <chlunde@ping.uio.no>
Thu, 12 Jun 2008 18:13:58 +0000 (20:13 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 Jun 2008 18:20:57 +0000 (11:20 -0700)
commit14a73f54798f39854e521fb596da7d50b7566bbd
tree2c9055792b004d21a9ca52660b036ca92de057ea
parent95dcf8350dc889e735d03c0debe2f7b26d243185
block: disable IRQs until data is written to relay channel

As we may run relay_reserve from interrupt context we must always disable
IRQs.  This is because a call to relay_reserve may expose previously written
data to use space.

Updated new message code and an old but related comment.

Signed-off-by: Carl Henrik Lunde <chlunde@ping.uio.no>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
block/blktrace.c