[lkml]   [2002]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Mounting a in-ROM filesystem efficiently
    David Woodhouse <> writes:

    > said:
    > > That sounds nice, but I cannot imagine how much trouble it would be
    > > to implement.
    > Adding the pages to the page cache on read_inode() is fairly simple. Hacking
    > the kernel so that readpage() can provide its own page less so.

    Well the generic solution is to simply skip readpage and provide (for your fs)
    your own versions of generic_file_read and filemap_nopage. At least
    if you want to do it on demand...


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:15    [W:0.021 / U:49.596 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site