From: Peter R. <pet...@di...> - 2005-04-18 14:56:50
|
I have an implementation of a fuse userSpace file system that requires some processing to be done whenever the writer of a file closes the file. I was using the RELEASE operation to trigger this, but now I need to refine my approach and do the operation only once and only when the writer process closes the file not just whenever any process releases the file. Can anyone suggest a good approach to doing this? Also, I have noticed that when I copy files from elsewhere to my mounted fuse file system that I get only blocks of 4096 bytes each time to write to the destination. What controls the block size that my user space file system gets, and how can I set things up to get larger data blocks at a time? The data files that I am dealing with are usually quite large and it would seem that working with larger blocks should help improve the system performance. Thanks for any help you can give me. Peter Roeser |