[f2fs-dev] [PATCH] f2fs: introduce two helper functions for the largest cached extent

2023-07-18 Thread Chao Liu
From: Chao Liu This patch is a cleanup: 1. Merge __drop_largest_extent() since it has only one caller. 2. Introduce __notify_largest_extent_updated() and __drop_largest_extent() to help manage largest and largest_update in extent_tree. Signed-off-by: Chao Liu --- fs/f2fs/extent_cache.c |

Re: [f2fs-dev] [PATCH v2 3/7] libfs: Validate negative dentries in case-insensitive directories

2023-07-18 Thread Gabriel Krisman Bertazi
Eric Biggers writes: > I notice that the existing vfat_revalidate_ci() in fs/fat/namei_vfat.c behaves > differently in the 'flags == 0' case: > > > /* >* This may be nfsd (or something), anyway, we can't see the >* intent of this. So, since this can be for creation, drop it.

Re: [f2fs-dev] [PATCH v2 4/7] libfs: Support revalidation of encrypted case-insensitive dentries

2023-07-18 Thread Gabriel Krisman Bertazi
Eric Biggers writes: > On Fri, Apr 21, 2023 at 08:03:07PM -0400, Gabriel Krisman Bertazi wrote: >> From: Gabriel Krisman Bertazi >> >> Preserve the existing behavior for encrypted directories, by rejecting >> negative dentries of encrypted+casefolded directories. This allows >> generic_ci_d_re

Re: [f2fs-dev] [PATCH v2 4/7] libfs: Support revalidation of encrypted case-insensitive dentries

2023-07-18 Thread Eric Biggers
On Tue, Jul 18, 2023 at 03:34:13PM -0400, Gabriel Krisman Bertazi wrote: > Eric Biggers writes: > > > On Fri, Apr 21, 2023 at 08:03:07PM -0400, Gabriel Krisman Bertazi wrote: > >> From: Gabriel Krisman Bertazi > >> > >> Preserve the existing behavior for encrypted directories, by rejecting > >>

Re: [f2fs-dev] [PATCH v5 6/8] xfs: switch to multigrain timestamps

2023-07-18 Thread Dave Chinner via Linux-f2fs-devel
On Thu, Jul 13, 2023 at 07:00:55PM -0400, Jeff Layton wrote: > Enable multigrain timestamps, which should ensure that there is an > apparent change to the timestamp whenever it has been written after > being actively observed via getattr. > > Also, anytime the mtime changes, the ctime must also ch