[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165024556441.258485.6980891929042026868.b4-ty@kernel.dk>
Date: Sun, 17 Apr 2022 19:32:44 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Christoph Hellwig <hch@....de>
Cc: linux-block@...r.kernel.org, phillip@...ashfs.org.uk,
target-devel@...r.kernel.org, colyli@...e.de,
linux-btrfs@...r.kernel.org, martin.petersen@...cle.com,
linux-raid@...r.kernel.org, dsterba@...e.com, josef@...icpanda.com,
song@...nel.org, dm-devel@...hat.com, snitzer@...hat.com,
linux-bcache@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: cleanup bio_kmalloc v3
On Wed, 6 Apr 2022 08:12:23 +0200, Christoph Hellwig wrote:
> this series finishes off the bio allocation interface cleanups by dealing
> with the weirdest member of the famility. bio_kmalloc combines a kmalloc
> for the bio and bio_vecs with a hidden bio_init call and magic cleanup
> semantics.
>
> This series moves a few callers away from bio_kmalloc and then turns
> bio_kmalloc into a simple wrapper for a slab allocation of a bio and the
> inline biovecs. The callers need to manually call bio_init instead with
> all that entails and the magic that turns bio_put into a kfree goes away
> as well, allowing for a proper debug check in bio_put that catches
> accidental use on a bio_init()ed bio.
>
> [...]
Applied, thanks!
[1/5] btrfs: simplify ->flush_bio handling
commit: f9e69aa9ccd7e51c47b147e45e03987ea0ef9aa3
[2/5] squashfs: always use bio_kmalloc in squashfs_bio_read
commit: 46a2d4ccc49903923506685a8368ca88312bbdc9
[3/5] target/pscsi: remove pscsi_get_bio
commit: 7655db80932d95f501a0811544d9520ec720e38d
[4/5] block: turn bio_kmalloc into a simple kmalloc wrapper
commit: 066ff571011d8416e903d3d4f1f41e0b5eb91e1d
[5/5] pktcdvd: stop using bio_reset
commit: 852ad96cb03621f7995764b4b31cbff9801d8bcd
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists