cachefs does not work for file with size >= 2GB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
    Here is the setup I used.

[root@machine ~]# cat /proc/version
Linux version 2.6.34 (root@kanha16) (gcc version 4.1.2 20080704 (Red Hat
4.1.2-44)) #1 SMP Tue Jun 1 18:34:35 PDT 2010
[root@machine ~]# cat /etc/issue
CentOS release 5.3 (Final)
Kernel \r on an \m

[root@kanha16 ~]# cat /etc/cachefilesd.conf
###############################################################################
#
# Copyright (C) 2006,2010 Red Hat, Inc. All Rights Reserved.
# Written by David Howells (dhowells@xxxxxxxxxx)
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version
# 2 of the License, or (at your option) any later version.
#
###############################################################################

/var/fscache
tag mycache
brun 10%
bcull 7%
bstop 3%
frun 10%
fcull 7%
fstop 3%

# Assuming you're using SELinux with the default security policy included in
# this package
#secctx system_u:system_r:cachefiles_kernel_t:s0

[root@machine cachefs]# ./mount.nfs -V
mount.nfs (linux nfs-utils 1.2.2)

o Caching daemon version : cachefilesd-0.10

I got the kernel source rpm from Fedora core website (FC14).

With the above setup I was able to make cachefs work well for NFS v3 mounted
clients.

The problem is when the size of file is large (i.e. >= 2GB) cachefs creates
objects
as seen in '/proc/fs/fscache/objects' but does not cache (I can provide more
info if needed)
I did  'du -h /var/fscache', there is no change in space usage.

Is it a known thing or is it some bug ?

I am not in the mailing list, request a 'CC' or replyall.

thanks,
~Raj
--
Linux-cachefs mailing list
Linux-cachefs@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cachefs


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]
  Powered by Linux