[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170327171421.GA464@infradead.org>
Date: Mon, 27 Mar 2017 10:14:21 -0700
From: Christoph Hellwig <hch@...radead.org>
To: NeilBrown <neilb@...e.com>
Cc: Christoph Hellwig <hch@...radead.org>,
Ming Lei <tom.leiming@...il.com>, Jens Axboe <axboe@...nel.dk>,
linux-block@...r.kernel.org, linux-raid@...r.kernel.org,
dm-devel@...hat.com, Alasdair Kergon <agk@...hat.com>,
Mike Snitzer <snitzer@...hat.com>,
Shaohua Li <shli@...nel.org>, linux-kernel@...r.kernel.org,
"Martin K . Petersen" <martin.petersen@...cle.com>
Subject: Re: [PATCH v3] block: trace completion of all bios.
On Mon, Mar 27, 2017 at 08:49:57PM +1100, NeilBrown wrote:
> On Mon, Mar 27 2017, Christoph Hellwig wrote:
>
> > I don't really like the flag at all. I'd much prefer a __bio_endio
> > with a 'bool trace' flag. Also please remove the manual tracing in
> > dm.ċ. Once that is done I suspect we can also remove the
> > block_bio_complete export.
>
> Can you say why you don't like it?
It uses up a precious bit in the bio for something that should be state
that can be determined in the caller at compile time.
Powered by blists - more mailing lists