[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210126150519.GA1377213@infradead.org>
Date: Tue, 26 Jan 2021 15:05:19 +0000
From: Christoph Hellwig <hch@...radead.org>
To: Ming Lei <ming.lei@...hat.com>
Cc: Changheun Lee <nanich.lee@...sung.com>, Johannes.Thumshirn@....com,
asml.silence@...il.com, axboe@...nel.dk, damien.lemoal@....com,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
osandov@...com, patchwork-bot@...nel.org, tj@...nel.org,
tom.leiming@...il.com, jisoo2146.oh@...sung.com,
junho89.kim@...sung.com, mj0123.lee@...sung.com,
seunghwan.hyun@...sung.com, sookwan7.kim@...sung.com,
woosung2.lee@...sung.com, yt0928.kim@...sung.com
Subject: Re: [PATCH v3 1/2] bio: limit bio max size
On Tue, Jan 26, 2021 at 11:57:48AM +0800, Ming Lei wrote:
> > *same_page = false;
> > return false;
> > }
>
> So far we don't need bio->bi_disk or bio->bi_bdev(will be changed in
> Christoph's patch) during adding page to bio, so there is null ptr
> refereance risk.
I've started resurrecting my old plan to always have a valid device
in the bio from allocation time on. It is pretty invasive, but
probably worth it. Sending out the first prep series right now, the
actual changes should be ready for an RFC later this week.
Powered by blists - more mailing lists