From: Sven U. <sve...@gm...> - 2011-09-20 16:00:31
|
Hello Han-Wen, > > If read() work on fuse, does the kernel page cache keep the read > > content in memory and return in next read()? > Yes if you pass the FOPEN_KEEP_CACHE flag from the open() method. Why would that be necessary? Or, put another way round, how can I influence that from my FUSE-using program? Obviously I can not rely on some other program to open anything with FOPEN_KEEP_CACHE --- or am I misreading you? Sven -- _ ___ ___ ___ The dCache File System __| |/ __|| __|/ __| An archive file-system for PB of data / _` | (__ | _| \__ \ http://www.desy.de/~utcke/Data/ \__,_|\___||_| |___/ http://www.dr-utcke.de/ |