[PATCH] Minimize output fd lock time
authorJens Axboe <axboe@suse.de>
Tue, 6 Sep 2005 12:46:45 +0000 (14:46 +0200)
committerJens Axboe <axboe@suse.de>
Tue, 6 Sep 2005 12:46:45 +0000 (14:46 +0200)
commit69e65a9e13f95201190a2d82c6fe327b708757df
tree103ad9a12a35b394b9fde1f43d55764b3aa5f7a1
parent7425d456c54104620eaa7083dedfb7b3db46015b
[PATCH] Minimize output fd lock time

Extract both trace and payload before acquiring the output descriptor lock.
The writes should take very shortly thus minimizing the hold time, the read
may take much longer.
blktrace.c