Re: [PATCH v2 1/3] smb: client: disable directory caching when dir_cache_timeout is zero

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



added the reviewed-by for these three. Testing seems to be going ok on
these so far - let me know if any updates or missed/new patches

On Sun, Nov 24, 2024 at 4:14 PM Paulo Alcantara <pc@xxxxxxxxxxxxx> wrote:
>
> Henrique Carvalho <henrique.carvalho@xxxxxxxx> writes:
>
> > Setting dir_cache_timeout to zero should disable the caching of
> > directory contents. Currently, even when dir_cache_timeout is zero,
> > some caching related functions are still invoked, which is unintended
> > behavior.
> >
> > Fix the issue by setting tcon->nohandlecache to true when
> > dir_cache_timeout is zero, ensuring that directory handle caching
> > is properly disabled.
> >
> > Fixes: 238b351d0935 ("smb3: allow controlling length of time directory entries are cached with dir leases")
> > Signed-off-by: Henrique Carvalho <henrique.carvalho@xxxxxxxx>
> > ---
> > V1 -> V2: Split patch and addressed review comments
> >
> >  fs/smb/client/connect.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
>
> Reviewed-by: Paulo Alcantara (Red Hat) <pc@xxxxxxxxxxxxx>
>


-- 
Thanks,

Steve





[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux