Date: Sat, 31 Dec 2016 04:26:11 -0600 From: Josh Paetzel <jpaetzel@fastmail.net> To: freebsd-fs@freebsd.org Cc: mckusick@freebsd.org, Rick Macklem <rmacklem@uoguelph.ca> Subject: NFS readdirplus on ZFS with > 1 billion files Message-ID: <1483179971.3381747.833629401.5EF242B8@webmail.messagingengine.com>
next in thread | raw e-mail | index | archive | help
We've been chasing this bug for a very long time and finally managed to pin it down. When a ZFS dataset has more than 1 billion files on it and an NFS client does a readdirplus the file handles for files with high znode/inode numbers gets truncated due to a 64 -> 32 bit conversion. https://reviews.freebsd.org/D9009 This isn't a fix so much as a workaround. From a performance standpoint it's the same as if the client mounts with noreaddirplus; sometimes it's a win, sometimes it's a lose. CPU usage does go up on the server a bit. -- Thanks, Josh Paetzel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1483179971.3381747.833629401.5EF242B8>