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


Groups > linux.kernel > #1512619

Re: [PATCH 05/60] target: avoid to access .bi_vcnt directly

From Christoph Hellwig <hch@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH 05/60] target: avoid to access .bi_vcnt directly
Date 2016-10-31 16:30 +0100
Message-ID <symH8-4bf-9@gated-at.bofh.it> (permalink)
References <sxx1U-3GR-3@gated-at.bofh.it> <sxx1V-3GR-47@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Oct 29, 2016 at 04:08:04PM +0800, Ming Lei wrote:
> When the bio is full, bio_add_pc_page() will return zero,
> so use this way to handle full bio.
> 
> Also replace access to .bi_vcnt for pr_debug() with bio_segments().
> 
> Signed-off-by: Ming Lei <tom.leiming@gmail.com>

Looks fine,

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

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


Thread

[PATCH 05/60] target: avoid to access .bi_vcnt directly Ming Lei <tom.leiming@gmail.com> - 2016-10-29 10:20 +0200
  Re: [PATCH 05/60] target: avoid to access .bi_vcnt directly Christoph Hellwig <hch@infradead.org> - 2016-10-31 16:30 +0100

csiph-web