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


Groups > linux.kernel > #1512637

Re: [PATCH 26/60] btrfs: set NO_MP for request queues behind BTRFS

From Christoph Hellwig <hch@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH 26/60] btrfs: set NO_MP for request queues behind BTRFS
Date 2016-10-31 16:40 +0100
Message-ID <symQO-4eD-37@gated-at.bofh.it> (permalink)
References <sxx1U-3GR-3@gated-at.bofh.it> <sxxbA-3Kf-37@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Oct 29, 2016 at 04:08:25PM +0800, Ming Lei wrote:
> There are lots of direct access to .bi_vcnt & .bi_io_vec
> of bio, and it isn't ready to support multipage bvecs
> for BTRFS, so set NO_MP for these request queues.

For one bio is an I/O submitter, it has absolutely no business changing
queue flags - if we need to stick to this limitation it simply needs
a version of bio_add_page that doesn't create multi-page bvecs.

Second I don't think making it multipage bvec aware is all that hard,
and we should aim for doing the proper thing.

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


Thread

[PATCH 26/60] btrfs: set NO_MP for request queues behind BTRFS Ming Lei <tom.leiming@gmail.com> - 2016-10-29 10:30 +0200
  Re: [PATCH 26/60] btrfs: set NO_MP for request queues behind BTRFS Christoph Hellwig <hch@infradead.org> - 2016-10-31 16:40 +0100
    Re: [PATCH 26/60] btrfs: set NO_MP for request queues behind BTRFS Christoph Hellwig <hch@infradead.org> - 2016-10-31 19:10 +0100

csiph-web