Linux Archive

Linux Archive (
-   Device-mapper Development (
-   -   Avoid deadlocks with bio allocation (

Kent Overstreet 09-07-2012 10:12 PM

Avoid deadlocks with bio allocation
These patches were part of the block cleanups series I just sent out, but I
split them off. Nothing's changed with them lately, the last thing I added was
a bit of logic to the "punt to rescue" code to only punt bios that were
allocated from the current bio_set.

Kent Overstreet (2):
block: Reorder struct bio_set
block: Avoid deadlocks with bio allocation by stacking drivers

fs/bio.c | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++ +--
include/linux/bio.h | 75 +++++++++++++++++++++++++--------------------
2 files changed, 126 insertions(+), 36 deletions(-)


dm-devel mailing list

All times are GMT. The time now is 11:44 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.