Re: [SMB3][PATCH] Add more detailed log information on cache=ro mounts

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

 



reviewed by lsahlber@xxxxxxxxxx

On Fri, Aug 30, 2019 at 1:40 PM Steve French <smfrench@xxxxxxxxx> wrote:
>
> Make it easier to tell if the share we are mounting with cache=ro is
> considered read only by the server.  Obviously there are cases where
> the user could know that no one will be writing to the share but this
> additional information could be helpful.
>
> $ dmesg
> [374786.661113] CIFS: Attempting to mount //localhost/test
> [374786.661130] CIFS VFS: mounting share with read only caching.
> Ensure that the share will not be modified while in use.
> [374786.662199] CIFS VFS: read only mount of RW share
>
> [374793.473091] CIFS: Attempting to mount //localhost/test-ro
> [374793.473109] CIFS VFS: mounting share with read only caching.
> Ensure that the share will not be modified while in use.
> [374793.474266] CIFS VFS: mounted to read only share
>
>
> --
> Thanks,
>
> Steve



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

  Powered by Linux