Messages in this thread | | | Date | Fri, 18 Apr 2008 13:48:31 -0400 | From | "Bob Copeland" <> | Subject | Re: [PATCH 0/7] OMFS filesystem version 3 |
| |
On Fri, Apr 18, 2008 at 1:35 PM, Szabolcs Szakacsits <szaka@ntfs-3g.org> wrote: > The major reason seems to be that the FUSE version reads heavily from the > block device during pure write operations, while the kernel driver never. > There can be several non-exclusive explanations.
Yep, I suspect switching to the lower-level API plus switching to mmap() and getting rid of various memcpy's in omfs.c would make a huge difference. And also drop the line count without the hash table stuff.
> Moreover when you're writing to a block device from user space then the > size and position of the block should be page aligned, otherwise you end up > doing unwanted synchronous reads instead of the believed asynchronous > writes.
Cool, thanks for the tips!
-- Bob Copeland %% www.bobcopeland.com
| |