[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 29/45] block: initialize struct block_device in bdev_alloc
- To: Christoph Hellwig <hch@xxxxxx>
- From: Tejun Heo <tj@xxxxxxxxxx>
- Date: Tue, 24 Nov 2020 16:20:56 -0500
- Cc: Jens Axboe <axboe@xxxxxxxxx>, Josef Bacik <josef@xxxxxxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, Coly Li <colyli@xxxxxxx>, Mike Snitzer <snitzer@xxxxxxxxxx>, Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>, Jan Kara <jack@xxxxxxx>, Johannes Thumshirn <johannes.thumshirn@xxxxxxx>, dm-devel@xxxxxxxxxx, Richard Weinberger <richard@xxxxxx>, Jan Kara <jack@xxxxxxxx>, linux-block@xxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx, linux-bcache@xxxxxxxxxxxxxxx, linux-mtd@xxxxxxxxxxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, linux-mm@xxxxxxxxx
- Delivery-date: Tue, 24 Nov 2020 21:21:21 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Tue, Nov 24, 2020 at 02:27:35PM +0100, Christoph Hellwig wrote:
> Don't play tricks with slab constructors as bdev structures tends to not
> get reused very much, and this makes the code a lot less error prone.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Acked-by: Tejun Heo <tj@xxxxxxxxxx>
--
tejun
|