>>> On 12/15/2011 at 08:33 AM, Jan Glauber <[email protected]> wrote: 
> 1. mmap the disk (as before)
> 2. check for the -ENOMEM case
>    2a. mmap was successful -> go on use memcpy in the read/write
> functions
>    2b. mmap failed -> use pread/pwrite in the read/write functions
> 
> That way we can avoid any memory setting changes since pread/pwrite will
> also work with very little memory. If the sysadmin sets ulimit -v
> cmsfs-fuse will also work. And in case there is enough memory it can be
> used to cache the disk operations.
> 
> Is anybody ok with that approach or do you still see the need for an
> additional switch???

I'm willing to say it's good for a first whack at the problem.  Further testing 
may show that something more (or else) is needed.  Either way, I'll report back 
what I find.


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to