Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1445361

Re: [PATCH] bcache: untagle cache_aolloc

From Kent Overstreet <kent.overstreet@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] bcache: untagle cache_aolloc
Date 2016-07-18 12:20 +0200
Message-ID <rWdOy-4To-7@gated-at.bofh.it> (permalink)
References <rWdOy-4To-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH] bcache: untagle cache_aolloc Kent Overstreet <kent.overstreet@gmail.com> - 2016-07-18 12:20 +0200
  Re: [PATCH] bcache: untagle cache_aolloc Kent Overstreet <kent.overstreet@gmail.com> - 2016-07-18 12:30 +0200
  Re: [PATCH] bcache: untagle cache_aolloc Johannes Thumshirn <jthumshirn@suse.de> - 2016-07-18 12:30 +0200

csiph-web