[lkml]   [2008]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 0/7] OMFS filesystem version 3
    On Fri, Apr 18, 2008 at 1:35 PM, Szabolcs Szakacsits <> 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 %%

     \ /
      Last update: 2008-04-18 19:51    [W:0.021 / U:2.012 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site