bcache: Make sure to pass GFP_WAIT to mempool_alloc()
authorKent Overstreet <kmo@daterainc.com>
Mon, 19 May 2014 15:57:55 +0000 (08:57 -0700)
committerKent Overstreet <kmo@daterainc.com>
Mon, 4 Aug 2014 22:23:03 +0000 (15:23 -0700)
commitbcf090e0040e30f8409e6a535a01e6473afb096f
tree783c32e0c6bb06933e92150585a6faa13c9d1261
parent9e5c353510b26500bd6b8309823ac9ef2837b761
bcache: Make sure to pass GFP_WAIT to mempool_alloc()

this was very wrong - mempool_alloc() only guarantees success with GFP_WAIT.
bcache uses GFP_NOWAIT in various other places where we have a fallback,
circuits must've gotten crossed when writing this code or something.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
drivers/md/bcache/btree.c
This page took 0.03525 seconds and 5 git commands to generate.