fixing redundant network opens on Linux file creation

Marcos Dione mdione at
Mon Jan 6 22:24:00 GMT 2003

On Mon, Jan 06, 2003 at 11:25:32AM -0600, Steven French wrote:
> The creat() system call results (for the Linux kernel) in calls to create
> (via vfs_create) then later a call to open (via dentry_open) both of which
> eventually end up (for the cifs vfs) doing a network open of the file from
> the perspective of the CIFS protocol which degrades performance (because

    why not implement create as a separate feature? you can use a
different message and mknod(2) on the server.

    I'm asking 'cause I'll have the same problem when implementing my

well-designed technology should allow people the luxury of ignorance
              -- Eric S. Raymond

More information about the samba-technical mailing list