From 6746557f0325a66f57d179126426e38a8ea66945 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Tue, 26 Oct 2010 17:33:54 +1100 Subject: [PATCH] md: use bio_kmalloc rather than bio_alloc when failure is acceptable. bio_alloc can never fail (as it uses a mempool) but an block indefinitely, especially if the caller is holding a reference to a previously allocated bio. So these to places which both handle failure and hold multiple bios should not use bio_alloc, they should use bio_kmalloc. Signed-off-by: NeilBrown --- Reading git-format-patch failed