[PATCH] s3:vfs_fileid: add "fstype/mntdir deny/allow list" option
Ralph Boehme
rb at sernet.de
Fri Jan 15 08:34:28 UTC 2016
On Thu, Jan 14, 2016 at 04:14:45PM -0800, Jeremy Allison wrote:
> On Thu, Jan 14, 2016 at 04:31:36PM +0100, Ralph Wuerthner wrote:
> > Hello,
> >
> > please see attached patch to fix an issue we encountered recently at a
> > customer.
> >
> > Regards
> >
> > Ralph
> >
> > PS: an alternative solution would be to pass the file path and the
> > SMB_STRUCT_STAT to the file_id_create function. This way no additional
> > options would be required, but I don't know if it's worth the effort to
> > change all file_id_create calls.
>
> Ugh. I gotta say I hate this :-). So this is a fix for Samba
> because NFS is utterly unreliable and causes clients to hang
> in the D wait-state ?
>
> This might be better as a local or IBM-specific patch :-).
>
> Or is the utility worth working around in Samba ?
>
> What do others think ?
Would it be possible to modify SMB_VFS_FILE_ID_CREATE() adding a
pathname parameter and statfs() that directly?
-Ralph
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de,mailto:kontakt@sernet.de
More information about the samba-technical
mailing list