[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160718101333.GA18961@kmo-pixel>
Date: Mon, 18 Jul 2016 02:13:33 -0800
From: Kent Overstreet <kent.overstreet@...il.com>
To: Johannes Thumshirn <jthumshirn@...e.de>
Cc: Jens Axboe <axboe@...com>, Eric Wheeler <git@...ux.ewheeler.net>,
Coly Li <colyli@...e.de>, linux-bcache@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] bcache: untagle cache_aolloc
On Mon, Jul 18, 2016 at 12:11:09PM +0200, Johannes Thumshirn wrote:
> bcache's cache_alloc() function currenty has no way freeing memory if one of
> the allocations fails. Untangle the if + allocation statement so we have
> defined checkpoints to free previous allocations if one fails.
nack. The existing error path handles failure midway through just fine.
Powered by blists - more mailing lists