Re: [PATCH v2] CIFS: Print message when attempting a mount

2018-10-06 Thread Steve French
ss > goals > redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted > > - Original Message - > > > From: "Steve French" > > To: rfre...@redhat.com > > Cc: "LKML" , "Steve French" > > , "CIFS" , "Pavel Shilovsky&q

Re: [PATCH v2] CIFS: Print message when attempting a mount

2018-10-06 Thread Rodrigo Freire
.com > Cc: "LKML" , "Steve French" > , "CIFS" , "Pavel Shilovsky" > > Sent: Saturday, October 6, 2018 4:09:30 PM > Subject: Re: [PATCH v2] CIFS: Print message when attempting a mount > On Tue, Oct 2, 2018 at 4:53 PM Rodrigo Freire w

Re: [PATCH v2] CIFS: Print message when attempting a mount

2018-10-06 Thread Steve French
On Tue, Oct 2, 2018 at 4:53 PM Rodrigo Freire wrote: > > Hi hi again Steve \o > > I do see potential for a ftrace rewrite for the cifs_dbg messages. Was looking at this on current kernels and debugging mount is probably fine for developers (or users) - plenty of debug messages get printed via the

Re: [PATCH v2] CIFS: Print message when attempting a mount

2018-10-06 Thread Steve French
Linux. Thoughts? Thanks! - RF. - Original Message - From: "Steve French" To: rfre...@redhat.com Cc: "LKML" , "Steve French" , "CIFS" , "Pavel Shilovsky" Sent: Tuesday, October 2, 2018 5:35:49 PM Subject: Re: [PATCH v2] CIFS: Print messa

Re: [PATCH v2] CIFS: Print message when attempting a mount

2018-10-02 Thread Rodrigo Freire
h" > To: rfre...@redhat.com > Cc: "LKML" , "Steve French" > , "CIFS" , "Pavel Shilovsky" > > Sent: Tuesday, October 2, 2018 6:25:46 PM > Subject: Re: [PATCH v2] CIFS: Print message when attempting a mount > It is an interest

Re: [PATCH v2] CIFS: Print message when attempting a mount

2018-10-02 Thread Steve French
? > > Thanks! > > - RF. > > - Original Message - > > From: "Steve French" > > To: rfre...@redhat.com > > Cc: "LKML" , "Steve French" > > , "CIFS" , "Pavel Shilovsky" > > > > Sent: Tuesday, Octo

Re: [PATCH v2] CIFS: Print message when attempting a mount

2018-10-02 Thread Rodrigo Freire
e French" > > > To: rfre...@redhat.com > > > Cc: "LKML" , "Steve French" > > > , "CIFS" , "Pavel > > > Shilovsky" > > > > > > Sent: Tuesday, October 2, 2018 4:17:02 PM > > > Subject: Re: [PA

Re: [PATCH v2] CIFS: Print message when attempting a mount

2018-10-02 Thread Steve French
> > > > Sent: Tuesday, October 2, 2018 4:17:02 PM > > Subject: Re: [PATCH v2] CIFS: Print message when attempting a mount > > > > Are you sure that these aren't logged by the automounter (for ext4, > > xfs etc.). When I looked in my dmesg logs I didn't find

Re: [PATCH v2] CIFS: Print message when attempting a mount

2018-10-02 Thread Rodrigo Freire
Hi Steve, - Original Message - > From: "Steve French" > To: rfre...@redhat.com > Cc: "LKML" , "Steve French" > , "CIFS" , "Pavel Shilovsky" > > Sent: Tuesday, October 2, 2018 4:17:02 PM > Subject: Re: [PATCH v2]

Re: [PATCH v2] CIFS: Print message when attempting a mount

2018-10-02 Thread Steve French
Are you sure that these aren't logged by the automounter (for ext4, xfs etc.). When I looked in my dmesg logs I didn't find matching log entries in the file systems themselves. Do you have an example? On the idea of adding cifsFYI logging here - I slightly prefer using ftrace (trace-cmd, ie dyna

[PATCH v2] CIFS: Print message when attempting a mount

2018-10-02 Thread Rodrigo Freire
Currently, no messages are printed when mounting a CIFS filesystem and no debug configuration is enabled. However, a CIFS mount information is valuable when troubleshooting and/or forensic analyzing a system and finding out if was a CIFS endpoint mount attempted. Other filesystems such as XFS, EX