[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150429133512.GA4436@lst.de>
Date: Wed, 29 Apr 2015 15:35:12 +0200
From: Christoph Hellwig <hch@....de>
To: NeilBrown <neilb@...e.de>
Cc: Mike Snitzer <snitzer@...hat.com>, Jens Axboe <axboe@...com>,
Azat Khuzhin <a3at.mail@...il.com>,
Christoph Hellwig <hch@....de>,
"Kernel.org-Linux-RAID" <linux-raid@...r.kernel.org>,
Guoqing Jiang <GQJiang@...e.com>, Tejun Heo <tj@...nel.org>,
Jan Kara <jack@...e.cz>, lkml <linux-kernel@...r.kernel.org>,
device-mapper development <dm-devel@...hat.com>,
Peter Zijlstra <peterz@...radead.org>
Subject: Re: [PATCH -stable] block: destroy bdi before blockdev is
unregistered.
On Wed, Apr 29, 2015 at 07:25:30AM +1000, NeilBrown wrote:
> As bdi_set_min_ratio doesn't touch bdi->dev, there seems to be no need for
> the test, or the warning.
>
> I wonder if it would make sense to move the bdi_set_min_ratio() call to
> bdi_destroy, and discard bdi_unregister??
> There is a comment which suggests bdi_unregister might be of use later, but
> it might be best to have a clean slate in which to add whatever might be
> needed??
This seems fine to me from the block dev point of view. I don't really
understand the bdi_min_ratio logic, but Peter might have a better idea.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists