- May 06, 2005
- May 05, 2005
- May 03, 2005
- Apr 28, 2005
-
-
Nathan Rutman authored
-
- Apr 27, 2005
- Apr 26, 2005
-
-
jacob authored
-
Yury Umanets authored
- more smart way to check if fs is mounted - in test 2g checking GNS with recursive path where last dir is not suid bit marked - should fail to mount it
-
Yury Umanets authored
-
Yury Umanets authored
-
Yury Umanets authored
-
Yury Umanets authored
none of thread needs to wait for mount completion in kernel space. - small cleanups in ll_gns_mount_object(). Some checks for input invariants are moved after checking gns state. Fixes in comments. - added the ability to disable GNS at all via /proc/.../gns_enabled. This is useful for some complex tests (like recursive suid marked .mntinfo dir) at least. May be useful for something else. - added two new sanity tests to sanity-gns.sh: a) test 2g: mounting /mnt/lustre/gns_entry/.mntinfo/.mntinfo/.mntinfo/.mntinfo where only last entry is correct GNS mount object. b) test 2h: upcall script starts mounting in background and retuns with no waiting for mount command. - in sanity tests disable GNS when preparing mount objects and mount points.
-
- Apr 25, 2005
-
-
Yury Umanets authored
-
Yury Umanets authored
-
Yury Umanets authored
-
- Apr 24, 2005
-
-
Yury Umanets authored
- making lvfs_memdbg_show() show possible memory leaks warning even if memory allocation tracking is not enabled.
-
- Apr 22, 2005
-
-
Eric Mei authored
* remote uid/gid handling * various gss fixes * fix broken local ACL
-
- Apr 21, 2005
-
-
Yury Umanets authored
- added more checks in GNS stuff: - check for zero len mount object (mostly admin friendly thing, to show that mount object is formed not correctly) - set default GNS callback to "/usr/sbin/gns_upcall" - added checks in lproc stuff: - gns object name should be differnt than upcall - gns timeout should be bigger than gns tick
-
Yury Umanets authored
-
Yury Umanets authored
-
Yury Umanets authored
- fixed reading of mount object. Should be read not more than PAGE_SIZE - 1, reserving one byte for terminating zero. - fixed read data zero terminating. Not data[PAGE_SIZE - 1] should be zeroed out, but rather zero should be put at the end of actual read data. - added one more test which tests how GNS will mount dentry when there is number of concurent thread creating entries in the same directory. test_3a - fixes in other sanity tests. When a test creates number of concurrent threads for checking something, it should wait their termination before getting execution result and possibly fail. Do not remove upcalls from /tmp to have the ability to look at them after failure.
-
Yury Umanets authored
- mounting only on lookup() control path (revalidate() for possible mounts always return 0). This makes it possible to use lookup_one_len() from ll_gns_mount_object(), as lookup control path protected parent. - on revalidate cause mount for possible mount points only if revalidate is successful - removed not used dentry marking with MOUNT_PENDING, etc
-
- Apr 19, 2005
-
-
Eric Mei authored
-
Yury Umanets authored
- cleanups in sanity-gns.sh - added one more GNS test - mounting directory with absent mount object
-
Yury Umanets authored
- more fixes in GNS stuff: - fixes with refcount onto @dchild in ll_gns_mount_object() for error control paths - fixing using accessing @dchild in the case of IS_ERR(dchild) - disabled checking for GNS file in mds_open(), thus GNS mount points are also opening by now. This is needed, because in taking lock we can't reliable to detect GNS objects on MDS. Checking just suid bit and skip open such a dirs is not correct as one may create structure like dir/dir/dir and mark all of them by suid. - cleanups in sanity-gns.sh. Added few new tests for odd conditions like mount object is symlink, dir, etc. Added test for changing mount object name to "." and "..". Grouping tests into 2 groups: (1) general GNS tests - mounting/umounting on timeout with different conditions with possible deadlocks, races, etc. (2) checking for odd conditions like recursive suid bit marked mount points, etc
-
- Apr 18, 2005
-
-
Yury Umanets authored
- small optimization in ll_gns_wait_for_mount(), changing return code semantics to usual 0 - ok, < 0 error. - handled possible nested mount with returning -ERETSARTSYS and causing endless loop of mounting. - check if found mount object is regular file to prevent from evil cases like it is suid bit marked directory, etc. - fix with completting all waiters for dentry mounting in progress. - added check for "." and ".." names in setting gns_object_name. - fixed default gns_object_name value.
-
Yury Umanets authored
-
Yury Umanets authored
-
Yury Umanets authored
- removed ll_d_lookup() as it is not used anymore. - removed struts from real_lookup() with calling revalidate() after lookup if dentry is marked GNS_MOUNTING. By now all this dentry marking is not needed anymore. - ll_gns_mount_object() is now called from ll_revalidate_it() and ll_lookup_it() - fixed deadlock when one thread T1 waits for mount completion and another one T2 created by upcall script waits for dentry->d_inode->i_sem. By now -ERESTARTSYS is returned for T2 and others and whren they restart syscall, dentry is mounted already or some error occured and GNS state is READY for mount. - fixes in comments and header of llite_gns.c - fixed possible incorrect spin_unlock() in ll_gns_mount_object() - using lookup_one_len() for looking for mount object instead of d_lookup() which looks only in dcache. - fixed handling of negative mount object dentry in ll_gns_mount_object() - fixed readding mount object content. By now kernel_read() is used instead of readpage approach. - waking up all possible waiters on finishing GNS mount. Nevertheless in current stuff nobody seem waits for mount (-RESTARTSYS is used instead), completion exists and it is semanticaly correct to wake up all its waiters. In fact this is needed for possible future using. If it happen that nobody will wait on it and it is counted not needed, it will be removed.
-
- Apr 15, 2005
-
-
Eric Mei authored
be called in interrupt context.
-
- Apr 13, 2005
-
-
Mikhail Pershin authored
MDS_BACKFSTYPE and OST_BACKFSTYPE are defined for this. FSTYPE is ldiskfs for 2.6 kernel by default
-
Yury Umanets authored
-