[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200708140254.GA7539@redhat.com>
Date: Wed, 8 Jul 2020 10:02:54 -0400
From: Mike Snitzer <snitzer@...hat.com>
To: Christoph Hellwig <hch@....de>
Cc: Jens Axboe <axboe@...nel.dk>, Tejun Heo <tj@...nel.org>,
cgroups@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-block@...r.kernel.org, linux-mm@...ck.org,
dm-devel@...hat.com, Li Zefan <lizefan@...wei.com>,
Johannes Weiner <hannes@...xchg.org>,
Dennis Zhou <dennis@...nel.org>
Subject: Re: [PATCH 01/14] dm: use bio_uninit instead of bio_disassociate_blkg
On Sat, Jun 27 2020 at 3:31am -0400,
Christoph Hellwig <hch@....de> wrote:
> bio_uninit is the proper API to clean up a BIO that has been allocated
> on stack or inside a structure that doesn't come from the BIO allocator.
> Switch dm to use that instead of bio_disassociate_blkg, which really is
> an implementation detail. Note that the bio_uninit calls are also moved
> to the two callers of __send_empty_flush, so that they better pair with
> the bio_init calls used to initialize them.
>
> Signed-off-by: Christoph Hellwig <hch@....de>
I've picked this up as a fix for 5.8
Thanks,
Mike
Powered by blists - more mailing lists