Avati
On Wed, Dec 5, 2012 at 1:29 AM, 吴巍 <wuwei.tsh@xxxxxxxxx> wrote:
Now I'm sure that Gluster FS native client don't support FSCache. There are no codes about FSCache in the source code of Gluster FS.the command "mount -t glusterfs server1:/test-volume /mnt/glusterfs -o fsc" will be executed by /sbin/mount.glusterfs, and the "-o fsc" option will be ignored silently.Thanks for everybody.
Wei WuFrom: Suresh JayaramanDate: 2012-12-05 15:06To: 吴巍Subject: Re: [Linux-cachefs] Can I use FSCache/Cachefiles with Gluster Native Client mode?On 12/03/2012 05:59 PM, Ric Wheeler wrote:> On 12/02/2012 10:29 PM, 吴巍 wrote:>> Hey,>>>> I Download the GlusterFS 3.2.7 Release and it works well. And I want>> to improve the reading performance with FSCache/Cachefiles model.>> I use the command line:>> mount -t glusterfs server1:/test-volume /mnt/glusterfs -o fsc>> and no error reported. But the local cache function of FSCache is notDoes Glusterfs support fscache? File systems typically have to bemodified to include support for fscache (see fs/cifs/fscache*.[c,h] orfs/nfs/fscache*.[c,h] in the kernel source for example). IOW, they haveto be fscache aware to be able to use the persistent disk caching.Have you checked if the option 'fsc' is being silently ignored? Trymounting with '-vvv' to see whether it reveals more.What do you mean by "local cache function of FSCache is not active"? Didyou mean that the files are not getting cached? or File are not beingfetched from the cache when re-read?If it is already supported, are you running the cachefilesd user-spacedaemon?FS-Cache by default uses /var/cache/fscache dir for caching. You couldcheck whether the cached files are being seen there.Also, /proc/fs/fscache/stats might reveal more details about pagesmarked for caching, retrieved successfully from cache or cache returned-ENODATA etc.>> active. How can I use the local cache function of FSCache with Gluster>> Native Client mount mode?>>> Adding in the fscache list to see if anyone there has experimented with> this,>--Suresh Jayaraman
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users