[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YL2+HeyKVMHsLNe2@infradead.org>
Date: Mon, 7 Jun 2021 07:35:09 +0100
From: Christoph Hellwig <hch@...radead.org>
To: Bart Van Assche <bvanassche@....org>
Cc: Changheun Lee <nanich.lee@...sung.com>, damien.lemoal@....com,
Avri.Altman@....com, Johannes.Thumshirn@....com,
alex_y_xu@...oo.ca, alim.akhtar@...sung.com,
asml.silence@...il.com, axboe@...nel.dk, bgoncalv@...hat.com,
cang@...eaurora.org, gregkh@...uxfoundation.org, hch@...radead.org,
jaegeuk@...nel.org, jejb@...ux.ibm.com, jisoo2146.oh@...sung.com,
junho89.kim@...sung.com, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org,
martin.petersen@...cle.com, ming.lei@...hat.com,
mj0123.lee@...sung.com, osandov@...com, patchwork-bot@...nel.org,
seunghwan.hyun@...sung.com, sookwan7.kim@...sung.com,
tj@...nel.org, tom.leiming@...il.com, woosung2.lee@...sung.com,
yi.zhang@...hat.com, yt0928.kim@...sung.com
Subject: Re: [PATCH v12 1/3] bio: control bio max size
On Fri, Jun 04, 2021 at 07:52:35AM -0700, Bart Van Assche wrote:
> Damien is right. bd_disk can be NULL. From
bd_disk is initialized in bdev_alloc, so it should never be NULL.
bi_bdev OTOH is only set afer bio_add_page in various places or not at
all in case of passthrough bios. Which is a bit of a mess and I have
plans to fix it.
Powered by blists - more mailing lists