Re: [PATCH 0/3] Add O_DENY* flags to fcntl and cifs

2012-12-14 Thread Steve French
On Fri, Dec 14, 2012 at 9:30 AM, Alan Cox wrote: >> We can make this feature (passing O_DENY* flags received from clients >> to filesystem) can be turned on/off on Samba/NFS server to let this >> particular use case work. In general, I think we really need to be >> sure that nobody has a read acce

Re: [PATCH 0/3] Add O_DENY* flags to fcntl and cifs

2012-12-10 Thread Steve French
On Fri, Dec 7, 2012 at 8:29 AM, Steve French wrote: > although I could not find the same level of detail that MS-FSA > provides (e.g. see section 2.14.10 for the detailed Typo It is section 2.1.4.10 -- Thanks, Steve

Re: [PATCH 0/3] Add O_DENY* flags to fcntl and cifs

2012-12-10 Thread Steve French
On Thu, Dec 6, 2012 at 1:57 PM, Jeremy Allison wrote: > On Thu, Dec 06, 2012 at 07:49:49PM +, Alan Cox wrote: >> On Thu, 6 Dec 2012 22:26:28 +0400 >> Pavel Shilovsky wrote: >> >> > Network filesystems CIFS, SMB2.0, SMB3.0 and NFSv4 have such flags - this >> > change can benefit cifs and nfs

Re: [PATCH 0/6] Extended file stat system call

2012-04-28 Thread Steve French
On Fri, Apr 27, 2012 at 7:38 PM, Dave Chinner wrote: > preferred minimum IO size (mp->m_readio_log/mp->m_writeio_log) This discussion about i/o sizes is very interesting. For network file system (at least for SMB2 to all known servers, and for cifs mounts to Samba, but probably for recent NFS),

Re: [PATCH 0/6] Extended file stat system call

2012-04-26 Thread Steve French
On Thu, Apr 26, 2012 at 12:09 PM, Steve French wrote: > On Thu, Apr 26, 2012 at 12:06 PM, Myklebust, Trond > wrote: >> On Thu, 2012-04-26 at 12:03 -0500, Steve French wrote: >>> On Thu, Apr 26, 2012 at 12:00 PM, Myklebust, Trond >>> wrote: >>> > On Th

Re: [PATCH 0/6] Extended file stat system call

2012-04-26 Thread Steve French
On Thu, Apr 26, 2012 at 12:06 PM, Myklebust, Trond wrote: > On Thu, 2012-04-26 at 12:03 -0500, Steve French wrote: >> On Thu, Apr 26, 2012 at 12:00 PM, Myklebust, Trond >> wrote: >> > On Thu, 2012-04-26 at 11:56 -0500, Steve French wrote: >> >> On Thu, Apr 26

Re: [PATCH 1/6] xstat: Add a pair of system calls to make extended file stats available

2012-04-26 Thread Steve French
On Thu, Apr 26, 2012 at 9:28 AM, J. Bruce Fields wrote: > On Thu, Apr 26, 2012 at 02:45:54PM +0100, David Howells wrote: >> Steve French wrote: >> >> > I also would prefer that we simply treat the time granularity as part >> > of the superblock (mounted volume)

Re: [PATCH 0/6] Extended file stat system call

2012-04-26 Thread Steve French
On Thu, Apr 26, 2012 at 12:00 PM, Myklebust, Trond wrote: > On Thu, 2012-04-26 at 11:56 -0500, Steve French wrote: >> On Thu, Apr 26, 2012 at 10:25 AM, Myklebust, Trond >> wrote: >> > On Thu, 2012-04-26 at 09:54 -0500, Steve French wrote: >> >> On Thu, Ap

Re: [PATCH 2/6] xstat: Ext4: Return extended attributes

2012-04-26 Thread Steve French
On Thu, Apr 26, 2012 at 8:47 AM, David Howells wrote: > Steve French wrote: > >> This patch reminds me of a question on time stamps - how can an >> application query the time granularity ie sb_s_time_gran for a mount >> (e.g. 1 second for some file systems, 100 nano

Re: [PATCH 0/6] Extended file stat system call

2012-04-26 Thread Steve French
On Thu, Apr 26, 2012 at 10:25 AM, Myklebust, Trond wrote: > On Thu, 2012-04-26 at 09:54 -0500, Steve French wrote: >> On Thu, Apr 26, 2012 at 9:25 AM, David Howells wrote: >> > Steve French wrote: >> > >> >> Would it be better to make the stable vs vo

Re: [PATCH 0/6] Extended file stat system call

2012-04-26 Thread Steve French
On Thu, Apr 26, 2012 at 9:25 AM, David Howells wrote: > Steve French wrote: > >> Would it be better to make the stable vs volatile inode number an attribute >> of the volume  or something returned by the proposed xstat? > > I'm not sure what you mean by a stable vs a

Re: [PATCH 1/6] xstat: Add a pair of system calls to make extended file stats available

2012-04-24 Thread Steve French
umber of uses: >> >>  (1) Creation time: The SMB protocol carries the creation time, which could >> be >>      exported by Samba, which will in turn help CIFS make use of FS-Cache as >>      that can be used for coherency data. >> >>      This is als

Re: [PATCH 0/6] Extended file stat system call

2012-04-20 Thread Steve French
On Thu, Apr 19, 2012 at 9:05 AM, David Howells wrote: > > Implement a pair of new system calls to provide extended and further > extensible stat functions. > Should the default for a network fs be to do an unconditional (heavyweight) > stat with a flag to suppress going to the server to update

Re: [PATCH 2/6] xstat: Ext4: Return extended attributes

2012-04-20 Thread Steve French
This patch reminds me of a question on time stamps - how can an application query the time granularity ie sb_s_time_gran for a mount (e.g. 1 second for some file systems, 100 nanoseconds for cifs/smb2, 1 nanosecond for others etc.) On Thu, Apr 19, 2012 at 9:06 AM, David Howells wrote: > Return ex

Re: [PATCH 5/6] xstat: CIFS: Return extended attributes

2012-04-20 Thread Steve French
For some of our users this would help A LOT. Interesting ... just had discussions yesterday with some guys trying to migrate to Linux and another set trying to backup Windows/NetApp from Linux. Some things they brought up that they needed (beyond what we already have wth the cifs acl and SID and