From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3A13CE77188 for ; Wed, 15 Jan 2025 02:17:32 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-3.v29.lw.sourceforge.com) by sfs-ml-3.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1tXsyK-0004xi-F4; Wed, 15 Jan 2025 02:17:31 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-3.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1tXsyJ-0004xc-5N for linux-f2fs-devel@lists.sourceforge.net; Wed, 15 Jan 2025 02:17:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: From:References:To:Subject:Cc:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=PtiPqxzeqpOf1ei0z0003zYPH7znpZ7toRcccnnH21s=; b=PAkRZvjQBlO7ZoGV/SlGrnEgWc 8Qy5D28sbtjG9L84oXF7EUKrddWNmZMWV1S13MYKlnya7d/i1BlQMZnr2dIRUPrCEEi9/cKRSk050 iepvwF/LcyRQn9kBYKhi869m2GjoOfG0eM6Lk7N4hTS63lGVC+JNjbMrbSS7beXChMwg=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From:References:To: Subject:Cc:MIME-Version:Date:Message-ID:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=PtiPqxzeqpOf1ei0z0003zYPH7znpZ7toRcccnnH21s=; b=IEVLefaas54bEYhjq9KX/0Ymmw znif1DYLDgrrwHns1ZHW+vgMi5qL/JP1HNrzBHQfDejUgjaElrLu/62zFN1yCInYotfQvQWcxCPiL KNrl0tKC69fa2qXkrAyue5LN8GP2nN6/Cf4RAooA1DieBIlca+d5HwMHqUXBqdr/byTg=; Received: from nyc.source.kernel.org ([147.75.193.91]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1tXsyH-0005zb-Lq for linux-f2fs-devel@lists.sourceforge.net; Wed, 15 Jan 2025 02:17:30 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id D40A8A416B3 for ; Wed, 15 Jan 2025 02:15:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB8C4C4CEDD; Wed, 15 Jan 2025 02:17:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736907443; bh=ks7sr5yfBf4a+Gp8OMw3/zSBqiZlVq+ktq89twV80fM=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=WzWo7Fr1ky3196ia9yeFohQgWUJwOHuq1Sq8vIHKm4bXkBIz+LptLpu+UeQgfROrL kHiGZDz0l1iPR0Vh6rpEuIoWIn8duA1i/6lSNKbh0rAlmFq9ngPvVBwB1/EELt5/vP 2NgIQNkqHMIeBV35g4CzPS4CBKlYg4/g29oHcXkl5boz37fhzmsqTM/8++qZ2DnRUB qE+2j95Udlj2sqNRkCs85digJJ1pXGPpfV7C2BqXnTRo3VmHK3SYyGKEek3Ar0u3Jr gZz3ztw0tkJiDpB80DEvPI37fX6DnxZR/shfefo0M/pa4pmMzrXUbXkxmwWfx07OeA o/2N0yw6vkj/g== Message-ID: <3e95b4e9-aef7-478b-aa16-1fa167182f02@kernel.org> Date: Wed, 15 Jan 2025 10:17:21 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Jaegeuk Kim References: <20250113183933.1268282-1-jaegeuk@kernel.org> <20250113183933.1268282-2-jaegeuk@kernel.org> <26a1b409-11a1-48d8-9c2e-4213218baf15@kernel.org> Content-Language: en-US In-Reply-To: X-Headers-End: 1tXsyH-0005zb-Lq Subject: Re: [f2fs-dev] [PATCH 2/2] f2fs: add a sysfs entry to request donate file-backed pages X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Chao Yu via Linux-f2fs-devel Reply-To: Chao Yu Cc: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On 1/15/25 01:18, Jaegeuk Kim wrote: > On 01/14, Chao Yu wrote: >> On 1/14/25 02:39, Jaegeuk Kim via Linux-f2fs-devel wrote: >>> 1. ioctl(fd1, F2FS_IOC_DONATE_RANGE, {0,3}); >>> 2. ioctl(fd2, F2FS_IOC_DONATE_RANGE, {1,2}); >>> 3. ioctl(fd3, F2FS_IOC_DONATE_RANGE, {3,1}); >>> 4. echo 3 > /sys/fs/f2fs/blk/donate_caches >>> >>> will reclaim 3 page cache ranges, registered by #1, #2, and #3. >>> >>> Signed-off-by: Jaegeuk Kim >>> --- >>> Documentation/ABI/testing/sysfs-fs-f2fs | 7 +++++++ >>> fs/f2fs/f2fs.h | 4 ++++ >>> fs/f2fs/shrinker.c | 27 +++++++++++++++++++++++++ >>> fs/f2fs/sysfs.c | 8 ++++++++ >>> 4 files changed, 46 insertions(+) >>> >>> diff --git a/Documentation/ABI/testing/sysfs-fs-f2fs b/Documentation/ABI/testing/sysfs-fs-f2fs >>> index 3e1630c70d8a..6f9d8b8889fd 100644 >>> --- a/Documentation/ABI/testing/sysfs-fs-f2fs >>> +++ b/Documentation/ABI/testing/sysfs-fs-f2fs >>> @@ -828,3 +828,10 @@ Date: November 2024 >>> Contact: "Chao Yu" >>> Description: It controls max read extent count for per-inode, the value of threshold >>> is 10240 by default. >>> + >>> +What: /sys/fs/f2fs//donate_caches >>> +Date: December 2024 >>> +Contact: "Jaegeuk Kim" >>> +Description: It reclaims the certian file-backed pages registered by >>> + ioctl(F2FS_IOC_DONATE_RANGE). >>> + For example, writing N tries to drop N address spaces in LRU. >>> diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h >>> index 7ce3e3eab17a..6c434ae94cb1 100644 >>> --- a/fs/f2fs/f2fs.h >>> +++ b/fs/f2fs/f2fs.h >>> @@ -1635,6 +1635,9 @@ struct f2fs_sb_info { >>> unsigned int warm_data_age_threshold; >>> unsigned int last_age_weight; >>> + /* control donate caches */ >>> + unsigned int donate_caches; >>> + >>> /* basic filesystem units */ >>> unsigned int log_sectors_per_block; /* log2 sectors per block */ >>> unsigned int log_blocksize; /* log2 block size */ >>> @@ -4256,6 +4259,7 @@ unsigned long f2fs_shrink_count(struct shrinker *shrink, >>> struct shrink_control *sc); >>> unsigned long f2fs_shrink_scan(struct shrinker *shrink, >>> struct shrink_control *sc); >>> +void f2fs_donate_caches(struct f2fs_sb_info *sbi); >>> void f2fs_join_shrinker(struct f2fs_sb_info *sbi); >>> void f2fs_leave_shrinker(struct f2fs_sb_info *sbi); >>> diff --git a/fs/f2fs/shrinker.c b/fs/f2fs/shrinker.c >>> index 83d6fb97dcae..a3e2063392a7 100644 >>> --- a/fs/f2fs/shrinker.c >>> +++ b/fs/f2fs/shrinker.c >>> @@ -130,6 +130,33 @@ unsigned long f2fs_shrink_scan(struct shrinker *shrink, >>> return freed; >>> } >>> +void f2fs_donate_caches(struct f2fs_sb_info *sbi) >>> +{ >>> + struct inode *inode = NULL; >>> + struct f2fs_inode_info *fi; >>> + int nfiles = sbi->donate_caches; >>> +next: >>> + spin_lock(&sbi->inode_lock[DONATE_INODE]); >>> + if (list_empty(&sbi->inode_list[DONATE_INODE]) || !nfiles) { >>> + spin_unlock(&sbi->inode_lock[DONATE_INODE]); >>> + return; >>> + } >>> + >>> + fi = list_first_entry(&sbi->inode_list[DONATE_INODE], >>> + struct f2fs_inode_info, gdonate_list); >>> + list_move_tail(&fi->gdonate_list, &sbi->inode_list[DONATE_INODE]); >> >> Not needed to drop it from the global list, right? > > Yea, there're two paths to drop: 1) waiting for evict_inode, 2) setting a new > range having len=0. Second way just relocate entry to list tail, not drop it from list? Thanks, > >> >> Thanks, >> >>> + inode = igrab(&fi->vfs_inode); >>> + spin_unlock(&sbi->inode_lock[DONATE_INODE]); >>> + >>> + if (inode) { >>> + invalidate_inode_pages2_range(inode->i_mapping, >>> + fi->donate_start, fi->donate_end); >>> + iput(inode); >>> + } >>> + if (nfiles--) >>> + goto next; >>> +} >>> + >>> void f2fs_join_shrinker(struct f2fs_sb_info *sbi) >>> { >>> spin_lock(&f2fs_list_lock); >>> diff --git a/fs/f2fs/sysfs.c b/fs/f2fs/sysfs.c >>> index 6b99dc49f776..7570580ec3c0 100644 >>> --- a/fs/f2fs/sysfs.c >>> +++ b/fs/f2fs/sysfs.c >>> @@ -811,6 +811,12 @@ static ssize_t __sbi_store(struct f2fs_attr *a, >>> return count; >>> } >>> + if (!strcmp(a->attr.name, "donate_caches")) { >>> + sbi->donate_caches = min(t, sbi->ndirty_inode[DONATE_INODE]); >>> + f2fs_donate_caches(sbi); >>> + return count; >>> + } >>> + >>> *ui = (unsigned int)t; >>> return count; >>> @@ -1030,6 +1036,7 @@ F2FS_SBI_GENERAL_RW_ATTR(max_victim_search); >>> F2FS_SBI_GENERAL_RW_ATTR(migration_granularity); >>> F2FS_SBI_GENERAL_RW_ATTR(migration_window_granularity); >>> F2FS_SBI_GENERAL_RW_ATTR(dir_level); >>> +F2FS_SBI_GENERAL_RW_ATTR(donate_caches); >>> #ifdef CONFIG_F2FS_IOSTAT >>> F2FS_SBI_GENERAL_RW_ATTR(iostat_enable); >>> F2FS_SBI_GENERAL_RW_ATTR(iostat_period_ms); >>> @@ -1178,6 +1185,7 @@ static struct attribute *f2fs_attrs[] = { >>> ATTR_LIST(migration_granularity), >>> ATTR_LIST(migration_window_granularity), >>> ATTR_LIST(dir_level), >>> + ATTR_LIST(donate_caches), >>> ATTR_LIST(ram_thresh), >>> ATTR_LIST(ra_nid_pages), >>> ATTR_LIST(dirty_nats_ratio), _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C1454BE6C for ; Wed, 15 Jan 2025 02:17:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736907443; cv=none; b=JWqm+tFaU4XPa+18MyV4adh45l0I+Th55K/sMaePIMk1GNranSqa2VWGwBvadEwParA1UK7XdmIH2x6ZaKgv1BCd9OhF8XzzCEgLkoT2wzuIBBpH8iVO9IEuWSztj43z6o41fMpn4U32qCCXCDvCAuUQZY++fpEVTLOQERulvSY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736907443; c=relaxed/simple; bh=ks7sr5yfBf4a+Gp8OMw3/zSBqiZlVq+ktq89twV80fM=; h=Message-ID:Date:MIME-Version:Cc:Subject:To:References:From: In-Reply-To:Content-Type; b=q27CSFI7g6RZ88oGsPdyZZu8vu7G3+2G1R9hJNpg8ZxdIuOXMqaMeGeb3EmxbsMpREudSe3/1NJKr6UHBKD4CR6qYBaeRG8mOg/vlAqBziS01jGbQbJN5VBCfNaVItY5jMC61g6ZCq1wIYDSezZZvHA4bWb754n0PLNAqtim3Gk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WzWo7Fr1; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WzWo7Fr1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB8C4C4CEDD; Wed, 15 Jan 2025 02:17:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736907443; bh=ks7sr5yfBf4a+Gp8OMw3/zSBqiZlVq+ktq89twV80fM=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=WzWo7Fr1ky3196ia9yeFohQgWUJwOHuq1Sq8vIHKm4bXkBIz+LptLpu+UeQgfROrL kHiGZDz0l1iPR0Vh6rpEuIoWIn8duA1i/6lSNKbh0rAlmFq9ngPvVBwB1/EELt5/vP 2NgIQNkqHMIeBV35g4CzPS4CBKlYg4/g29oHcXkl5boz37fhzmsqTM/8++qZ2DnRUB qE+2j95Udlj2sqNRkCs85digJJ1pXGPpfV7C2BqXnTRo3VmHK3SYyGKEek3Ar0u3Jr gZz3ztw0tkJiDpB80DEvPI37fX6DnxZR/shfefo0M/pa4pmMzrXUbXkxmwWfx07OeA o/2N0yw6vkj/g== Message-ID: <3e95b4e9-aef7-478b-aa16-1fa167182f02@kernel.org> Date: Wed, 15 Jan 2025 10:17:21 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Cc: chao@kernel.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Subject: Re: [f2fs-dev] [PATCH 2/2] f2fs: add a sysfs entry to request donate file-backed pages To: Jaegeuk Kim References: <20250113183933.1268282-1-jaegeuk@kernel.org> <20250113183933.1268282-2-jaegeuk@kernel.org> <26a1b409-11a1-48d8-9c2e-4213218baf15@kernel.org> Content-Language: en-US From: Chao Yu In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 1/15/25 01:18, Jaegeuk Kim wrote: > On 01/14, Chao Yu wrote: >> On 1/14/25 02:39, Jaegeuk Kim via Linux-f2fs-devel wrote: >>> 1. ioctl(fd1, F2FS_IOC_DONATE_RANGE, {0,3}); >>> 2. ioctl(fd2, F2FS_IOC_DONATE_RANGE, {1,2}); >>> 3. ioctl(fd3, F2FS_IOC_DONATE_RANGE, {3,1}); >>> 4. echo 3 > /sys/fs/f2fs/blk/donate_caches >>> >>> will reclaim 3 page cache ranges, registered by #1, #2, and #3. >>> >>> Signed-off-by: Jaegeuk Kim >>> --- >>> Documentation/ABI/testing/sysfs-fs-f2fs | 7 +++++++ >>> fs/f2fs/f2fs.h | 4 ++++ >>> fs/f2fs/shrinker.c | 27 +++++++++++++++++++++++++ >>> fs/f2fs/sysfs.c | 8 ++++++++ >>> 4 files changed, 46 insertions(+) >>> >>> diff --git a/Documentation/ABI/testing/sysfs-fs-f2fs b/Documentation/ABI/testing/sysfs-fs-f2fs >>> index 3e1630c70d8a..6f9d8b8889fd 100644 >>> --- a/Documentation/ABI/testing/sysfs-fs-f2fs >>> +++ b/Documentation/ABI/testing/sysfs-fs-f2fs >>> @@ -828,3 +828,10 @@ Date: November 2024 >>> Contact: "Chao Yu" >>> Description: It controls max read extent count for per-inode, the value of threshold >>> is 10240 by default. >>> + >>> +What: /sys/fs/f2fs//donate_caches >>> +Date: December 2024 >>> +Contact: "Jaegeuk Kim" >>> +Description: It reclaims the certian file-backed pages registered by >>> + ioctl(F2FS_IOC_DONATE_RANGE). >>> + For example, writing N tries to drop N address spaces in LRU. >>> diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h >>> index 7ce3e3eab17a..6c434ae94cb1 100644 >>> --- a/fs/f2fs/f2fs.h >>> +++ b/fs/f2fs/f2fs.h >>> @@ -1635,6 +1635,9 @@ struct f2fs_sb_info { >>> unsigned int warm_data_age_threshold; >>> unsigned int last_age_weight; >>> + /* control donate caches */ >>> + unsigned int donate_caches; >>> + >>> /* basic filesystem units */ >>> unsigned int log_sectors_per_block; /* log2 sectors per block */ >>> unsigned int log_blocksize; /* log2 block size */ >>> @@ -4256,6 +4259,7 @@ unsigned long f2fs_shrink_count(struct shrinker *shrink, >>> struct shrink_control *sc); >>> unsigned long f2fs_shrink_scan(struct shrinker *shrink, >>> struct shrink_control *sc); >>> +void f2fs_donate_caches(struct f2fs_sb_info *sbi); >>> void f2fs_join_shrinker(struct f2fs_sb_info *sbi); >>> void f2fs_leave_shrinker(struct f2fs_sb_info *sbi); >>> diff --git a/fs/f2fs/shrinker.c b/fs/f2fs/shrinker.c >>> index 83d6fb97dcae..a3e2063392a7 100644 >>> --- a/fs/f2fs/shrinker.c >>> +++ b/fs/f2fs/shrinker.c >>> @@ -130,6 +130,33 @@ unsigned long f2fs_shrink_scan(struct shrinker *shrink, >>> return freed; >>> } >>> +void f2fs_donate_caches(struct f2fs_sb_info *sbi) >>> +{ >>> + struct inode *inode = NULL; >>> + struct f2fs_inode_info *fi; >>> + int nfiles = sbi->donate_caches; >>> +next: >>> + spin_lock(&sbi->inode_lock[DONATE_INODE]); >>> + if (list_empty(&sbi->inode_list[DONATE_INODE]) || !nfiles) { >>> + spin_unlock(&sbi->inode_lock[DONATE_INODE]); >>> + return; >>> + } >>> + >>> + fi = list_first_entry(&sbi->inode_list[DONATE_INODE], >>> + struct f2fs_inode_info, gdonate_list); >>> + list_move_tail(&fi->gdonate_list, &sbi->inode_list[DONATE_INODE]); >> >> Not needed to drop it from the global list, right? > > Yea, there're two paths to drop: 1) waiting for evict_inode, 2) setting a new > range having len=0. Second way just relocate entry to list tail, not drop it from list? Thanks, > >> >> Thanks, >> >>> + inode = igrab(&fi->vfs_inode); >>> + spin_unlock(&sbi->inode_lock[DONATE_INODE]); >>> + >>> + if (inode) { >>> + invalidate_inode_pages2_range(inode->i_mapping, >>> + fi->donate_start, fi->donate_end); >>> + iput(inode); >>> + } >>> + if (nfiles--) >>> + goto next; >>> +} >>> + >>> void f2fs_join_shrinker(struct f2fs_sb_info *sbi) >>> { >>> spin_lock(&f2fs_list_lock); >>> diff --git a/fs/f2fs/sysfs.c b/fs/f2fs/sysfs.c >>> index 6b99dc49f776..7570580ec3c0 100644 >>> --- a/fs/f2fs/sysfs.c >>> +++ b/fs/f2fs/sysfs.c >>> @@ -811,6 +811,12 @@ static ssize_t __sbi_store(struct f2fs_attr *a, >>> return count; >>> } >>> + if (!strcmp(a->attr.name, "donate_caches")) { >>> + sbi->donate_caches = min(t, sbi->ndirty_inode[DONATE_INODE]); >>> + f2fs_donate_caches(sbi); >>> + return count; >>> + } >>> + >>> *ui = (unsigned int)t; >>> return count; >>> @@ -1030,6 +1036,7 @@ F2FS_SBI_GENERAL_RW_ATTR(max_victim_search); >>> F2FS_SBI_GENERAL_RW_ATTR(migration_granularity); >>> F2FS_SBI_GENERAL_RW_ATTR(migration_window_granularity); >>> F2FS_SBI_GENERAL_RW_ATTR(dir_level); >>> +F2FS_SBI_GENERAL_RW_ATTR(donate_caches); >>> #ifdef CONFIG_F2FS_IOSTAT >>> F2FS_SBI_GENERAL_RW_ATTR(iostat_enable); >>> F2FS_SBI_GENERAL_RW_ATTR(iostat_period_ms); >>> @@ -1178,6 +1185,7 @@ static struct attribute *f2fs_attrs[] = { >>> ATTR_LIST(migration_granularity), >>> ATTR_LIST(migration_window_granularity), >>> ATTR_LIST(dir_level), >>> + ATTR_LIST(donate_caches), >>> ATTR_LIST(ram_thresh), >>> ATTR_LIST(ra_nid_pages), >>> ATTR_LIST(dirty_nats_ratio),