Re: [PATCH 05/13] block: turn bdev->bd_openers into an atomic_t
- To: Jan Kara <jack@suse.cz>
- Cc: Christoph Hellwig <hch@lst.de>, Jens Axboe <axboe@kernel.dk>, Josef Bacik <josef@toxicpanda.com>, Minchan Kim <minchan@kernel.org>, Nitin Gupta <ngupta@vflare.org>, Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>, "Darrick J . Wong" <djwong@kernel.org>, Ming Lei <ming.lei@redhat.com>, linux-block@vger.kernel.org, nbd@other.debian.org
- Subject: Re: [PATCH 05/13] block: turn bdev->bd_openers into an atomic_t
- From: Christoph Hellwig <hch@lst.de>
- Date: Thu, 24 Mar 2022 18:12:54 +0100
- Message-id: <[🔎] 20220324171254.GB28007@lst.de>
- In-reply-to: <[🔎] 20220324133136.h6vimclhyhly7uyh@quack3.lan>
- References: <[🔎] 20220324075119.1556334-1-hch@lst.de> <[🔎] 20220324075119.1556334-6-hch@lst.de> <[🔎] 20220324133136.h6vimclhyhly7uyh@quack3.lan>
On Thu, Mar 24, 2022 at 02:31:36PM +0100, Jan Kara wrote:
> BTW I suspect that drivers/block/aoe/ could now use bd_openers instead of
> its driver specific mirror of it (->nopen). But that's certainly a separate
> cleanup for some other time.
Yes. There actually are a lot of places that should drop their internal
number of openers counters.
Reply to: