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


Groups > linux.kernel > #1512622

Re: [PATCH 03/60] block: drbd: remove impossible failure handling

From Christoph Hellwig <hch@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH 03/60] block: drbd: remove impossible failure handling
Date 2016-10-31 16:30 +0100
Message-ID <symH8-4bf-31@gated-at.bofh.it> (permalink)
References <sxx1U-3GR-3@gated-at.bofh.it> <sxxlf-3Nw-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Oct 29, 2016 at 04:08:02PM +0800, Ming Lei wrote:
> For a non-cloned bio, bio_add_page() only returns failure when
> the io vec table is full, but in that case, bio->bi_vcnt can't
> be zero at all.
> 
> So remove the impossible failure handling.
> 
> Acked-by: Lars Ellenberg <lars.ellenberg@linbit.com>
> Signed-off-by: Ming Lei <tom.leiming@gmail.com>

Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>

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


Thread

[PATCH 03/60] block: drbd: remove impossible failure handling Ming Lei <tom.leiming@gmail.com> - 2016-10-29 10:40 +0200
  Re: [PATCH 03/60] block: drbd: remove impossible failure handling Christoph Hellwig <hch@infradead.org> - 2016-10-31 16:30 +0100

csiph-web