* [PATCH] zonefs: enable support for large folios
@ 2024-05-13 22:37 Johannes Thumshirn
2024-05-14 19:06 ` Bill O'Donnell
2024-05-27 4:35 ` Damien Le Moal
0 siblings, 2 replies; 3+ messages in thread
From: Johannes Thumshirn @ 2024-05-13 22:37 UTC (permalink / raw)
To: Damien Le Moal; +Cc: linux-fsdevel, Matthew Wilcox, Johannes Thumshirn
From: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Enable large folio support on zonefs.
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
---
fs/zonefs/super.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/zonefs/super.c b/fs/zonefs/super.c
index 37080ec516e8..3c5b4c3a0c3e 100644
--- a/fs/zonefs/super.c
+++ b/fs/zonefs/super.c
@@ -662,6 +662,7 @@ static struct inode *zonefs_get_file_inode(struct inode *dir,
inode->i_op = &zonefs_file_inode_operations;
inode->i_fop = &zonefs_file_operations;
inode->i_mapping->a_ops = &zonefs_file_aops;
+ mapping_set_large_folios(inode->i_mapping);
/* Update the inode access rights depending on the zone condition */
zonefs_inode_update_mode(inode);
--
2.35.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] zonefs: enable support for large folios
2024-05-13 22:37 [PATCH] zonefs: enable support for large folios Johannes Thumshirn
@ 2024-05-14 19:06 ` Bill O'Donnell
2024-05-27 4:35 ` Damien Le Moal
1 sibling, 0 replies; 3+ messages in thread
From: Bill O'Donnell @ 2024-05-14 19:06 UTC (permalink / raw)
To: Johannes Thumshirn
Cc: Damien Le Moal, linux-fsdevel, Matthew Wilcox, Johannes Thumshirn
On Tue, May 14, 2024 at 12:37:18AM +0200, Johannes Thumshirn wrote:
> From: Johannes Thumshirn <johannes.thumshirn@wdc.com>
>
> Enable large folio support on zonefs.
>
> Cc: Matthew Wilcox <willy@infradead.org>
> Cc: Damien Le Moal <dlemoal@kernel.org>
> Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Looks fine.
Reviewed-by: Bill O'Donnell <bodonnel@redhat.com>
> ---
> fs/zonefs/super.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/fs/zonefs/super.c b/fs/zonefs/super.c
> index 37080ec516e8..3c5b4c3a0c3e 100644
> --- a/fs/zonefs/super.c
> +++ b/fs/zonefs/super.c
> @@ -662,6 +662,7 @@ static struct inode *zonefs_get_file_inode(struct inode *dir,
> inode->i_op = &zonefs_file_inode_operations;
> inode->i_fop = &zonefs_file_operations;
> inode->i_mapping->a_ops = &zonefs_file_aops;
> + mapping_set_large_folios(inode->i_mapping);
>
> /* Update the inode access rights depending on the zone condition */
> zonefs_inode_update_mode(inode);
> --
> 2.35.3
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] zonefs: enable support for large folios
2024-05-13 22:37 [PATCH] zonefs: enable support for large folios Johannes Thumshirn
2024-05-14 19:06 ` Bill O'Donnell
@ 2024-05-27 4:35 ` Damien Le Moal
1 sibling, 0 replies; 3+ messages in thread
From: Damien Le Moal @ 2024-05-27 4:35 UTC (permalink / raw)
To: Johannes Thumshirn; +Cc: linux-fsdevel, Matthew Wilcox, Johannes Thumshirn
On 5/14/24 7:37 AM, Johannes Thumshirn wrote:
> From: Johannes Thumshirn <johannes.thumshirn@wdc.com>
>
> Enable large folio support on zonefs.
>
> Cc: Matthew Wilcox <willy@infradead.org>
> Cc: Damien Le Moal <dlemoal@kernel.org>
> Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Applied to for-6.11. Thanks !
--
Damien Le Moal
Western Digital Research
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-05-27 4:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-13 22:37 [PATCH] zonefs: enable support for large folios Johannes Thumshirn
2024-05-14 19:06 ` Bill O'Donnell
2024-05-27 4:35 ` Damien Le Moal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).