Show locallease in /proc/mounts for cifs shares mounted with locallease feature.
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): CAH2r5ms0m1g20vd28jKD6qex1k8Ccs=PgTQhEaeo-66zs8nXWg@mail.gmail.com
A message that is not in the archive (sent off-list or not yet received): CAA_-hQLUTYM+p8z38p=uYpur56sCm7ujNi69+2h2EMsTvR0PLg@mail.gmail.com
Steve French
AppliedI had missed this one.
merged into cifs-2.6.git for-next (target for next merge window, 5.2 unless you think it needs to go in faster for an important user issue)
Let me know if you see any other patches I have missed in for-next
Quoted 44 lines · Kenneth Dsouza
Quoted 6 lines · Steve French
Makes sense - but don't we need to update the man page as well - I don't see it in there either.
And wouldn't hurt to note a use case where it could be helpful?!
Aurélien has documented the locallease and other mount options in the
below patch.
https://git.samba.org/?p=cifs-utils.git;a=commit;h=7325a01abc529d68756bae90cf23233392626939Quoted 30 lines · Ronnie Sahlberg
Quoted 21 lines
Reviewed-by Ronnie Sahlberg <[email protected]>Signed-off-by Kenneth D'souza <[email protected]>--- fs/cifs/cifsfs.c | 2 ++ 1 file changed, 2 insertions(+)fs/cifs/cifsfs.c +2
-1@@ -489,6 +489,8 @@ cifs_show_options(struct seq_file *s, struct dentry *root)seq_puts (s,",seal" );if (tcon->nocase)seq_puts (s,",nocase" ); +if (tcon->local_lease) +seq_puts (s,",locallease" );if (tcon->retry)seq_puts (s,",hard" );else --Quoted 2 lines
2.13.6
--
Thanks,Steve
Signature · 3 lines
Thanks, Steve