Re: [Lustre-discuss] question about dcache revalidate

2012-01-12 Thread Lai Siyao
No, to add a dentry to hash client needs holding LOOKUP lock, but lustre client unhash (see ll_unhash_aliases()) doesn't really remove dentry from hash, but set LUSTRE_DCACHE_INVALID flag. So in the race you mentioned, another process may add the dentry but later the lock is canceled soon, so at

Re: [Lustre-discuss] question about dcache revalidate

2012-01-12 Thread Oleg Drokin
Hello! On Jan 12, 2012, at 3:52 AM, Lai Siyao wrote: No, to add a dentry to hash client needs holding LOOKUP lock, but lustre client unhash (see ll_unhash_aliases()) doesn't really remove dentry from hash, but set LUSTRE_DCACHE_INVALID flag. So in the race you mentioned, another process

Re: [Lustre-discuss] Finding bugs in Lustre with Coccinelle

2012-01-12 Thread Oleg Drokin
Helo! On Jan 12, 2012, at 12:22 AM, Andreas Dilger wrote: You can download the full result (annotated source code) here: http://dl.dropbox.com/u/1868416/lustre-2.1.0-scan-build.tar.bz2 (I will delete this file in a couple of days) Karsten, can you please split this tarball into a couple of

Re: [Lustre-discuss] Finding bugs in Lustre with Coccinelle

2012-01-12 Thread Karsten Weiss
On Thu, 12 Jan 2012, Oleg Drokin wrote: Also would be great to run something like this on 2.2 codebase, I guess. I've updated LU-871 with the results of a new Clang SA scan-build run on the Lustre 2.1.54 source code (i.e. today's git HEAD): http://bugs.whamcloud.com/browse/LU-871 (To trim

[Lustre-discuss] Lustre Training offering: 2012 March 6-8, in Melbourne, Australia

2012-01-12 Thread Lindsey Stack
Lustre Installation and Administration This is a Whamcloud public enrollment class, cosponsored by Whamcloud and the Victorian Partnership for Advanced Computing (VPAC). Course overview: * Introduction to Lustre filesystem * Architecting and designing Lustre clusters * Lustre