Re: [PATCH] btrfs: use kmem cache to allocate struct btrfs_qgroup_extent_record

From: David Sterba
Date: Mon Oct 04 2021 - 07:51:35 EST


On Mon, Oct 04, 2021 at 06:55:32AM -0400, Hamza Mahfooz wrote:
> Commit 3368d001ba5d ("btrfs: qgroup: Record possible quota-related extent
> for qgroup.") suggests that,

The commit is from 2015 and besides the TODO notice there's nothing that
explains why it should be kmem cache and not plain kmalloc/kfree.

So, why you'd like to do the change?