Re: [PATCH] cifs: Add mount parameter to control deferred close timeout

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

 



On Fri, 1 Jul 2022 at 18:44, Shyam Prasad N <nspmangalore@xxxxxxxxx> wrote:
>
> On Fri, Jul 1, 2022 at 12:07 PM ronnie sahlberg
> <ronniesahlberg@xxxxxxxxx> wrote:
> >
> > On Fri, 1 Jul 2022 at 16:03, Shyam Prasad N <nspmangalore@xxxxxxxxx> wrote:
> > >
> > > On Fri, Jul 1, 2022 at 3:23 AM Tom Talpey <tom@xxxxxxxxxx> wrote:
> > > >
> > > > Is there a justification for why this is necessary?
> > > >
> > > > When and how are admins expected to use it, and with what values?
> > > >
> > >
> > > Hi Tom,
> > >
> > > This came up specifically when a customer reported an issue with lease break.
> > > We wanted to rule out (or confirm) if deferred close is playing any
> > > part in this by disabling it.
> > > However, to disable it today, we will need to set acregmax to 0, which
> > > will also disable attribute caching.
> > >
> > > So Bharath now submitted a patch for this to be able to tune this
> > > parameter separately.
> >
> > Ok,  will the option be removed later once the investigation is done?
> > We shouldn't add options that are difficult/impossible to use
> > correctly by normal users.
> We didn't intend to. We thought that this could be a useful tunable
> parameter that the basic users need not even worry about, but advanced
> users / developers could suggest changing it to tune / troubleshoot
> specific scenarios.

If it is just for developers needing it to debug specific issues  it
should absolutely not be a mount option in upstream.
Maybe have it as a /proc/fs/cifs/Debug thing or just provide custom
builds for the customer when debugging specific issues.

Once they become mount options they need to be documented, what they
do and why you would use them and exactly how to determine what to set
them to.



> >
> >
> > >
> > > > On 6/29/2022 4:26 AM, Bharath SM wrote:
> > > > > Adding a new mount parameter to specifically control timeout for deferred close.
> > >
> > >
> > >
> > > --
> > > Regards,
> > > Shyam
>
>
>
> --
> Regards,
> Shyam



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

  Powered by Linux