lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 31 Jul 2010 20:26:49 +0100 From: David Howells <dhowells@...hat.com> To: utz lehmann <lkml123@...4n2c.de> Cc: dhowells@...hat.com, Linus Torvalds <torvalds@...ux-foundation.org>, Jeremy Allison <jra@...ba.org>, Volker.Lendecke@...net.de, Jan Engelhardt <jengelh@...ozas.de>, linux-cifs@...r.kernel.org, linux-nfs@...r.kernel.org, samba-technical@...ts.samba.org, linux-kernel@...r.kernel.org, viro@...iv.linux.org.uk, linux-fsde@...per.es Subject: Re: [PATCH 02/18] xstat: Add a pair of system calls to make extended file stats available [ver #6] utz lehmann <lkml123@...4n2c.de> wrote: > How does this works right with noatime or relatime (which is default)? Don't do that then. > We had used FS-Cache with a few 10000s files cached. Doesn't it mean > that the cleanup has to stat them all? Yes. > Why didn't cachefilesd managed the cache index in a separate database > like other caches? Because using atime is much simpler since the filesystem updates it automatically. If you have a separate database then you have redundant information and you need to maintain metadata integrity which has a cost, both in terms of disk usage and performance. I'm working on it, but you don't get it for free. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists