Russell-IO / s3fs

Automatically exported from code.google.com/p/s3fs
GNU General Public License v2.0
0 stars 0 forks source link

implement create() #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
implement creat()

should be able to save one (re)upload when using rsync

Original issue reported on code.google.com by rri...@gmail.com on 1 Mar 2008 at 9:42

GoogleCodeExporter commented 9 years ago
Resolved in r289

If the create callback is defined, then FUSE will make a single call to 
create() vs. two calls: one to mknod() and one to open().  (create() is 
optional according to the FUSE specification)

This was implemented by simply merging the content of the mknod and open 
functions into the new function.  I don't know what else is needed here. (this 
does not replace mknod and open, but adds a new function)

I have verified that this works and I can see the create calls from FUSE when 
run in foreground mode.

This got resolved as a troubleshooting step for issue #129  I found on the 
fuse-devel mailing list where someone was having a similar problem with another 
fuse-based file system.  One of the fuse developer suggested that they were 
missing the create() function in their implementation. Unfortunately, 
implementing create() does not resolve issue #129 ;( 

Original comment by dmoore4...@gmail.com on 21 Dec 2010 at 4:29