Skip to content
Snippets Groups Projects
  1. May 06, 2005
  2. Apr 26, 2005
    • Yury Umanets's avatar
      - improvements in sanity-gns.sh: · 28ed7a58
      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
      28ed7a58
    • Yury Umanets's avatar
      - recursive chmod u+s for test 2g · 8291fd75
      Yury Umanets authored
      8291fd75
    • Yury Umanets's avatar
      - added recursive chmod for test_2g · 1f0c058d
      Yury Umanets authored
      1f0c058d
    • Yury Umanets's avatar
      - small fixes in sanity-gns.sh · a4dfa5b9
      Yury Umanets authored
      a4dfa5b9
    • Yury Umanets's avatar
      - removed not used stuff (@lld and gns_mount_finished completion). Last is because · 8acfc418
      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.
      8acfc418
  3. Apr 22, 2005
  4. Apr 21, 2005
    • Yury Umanets's avatar
      - fixes and improvements in GNS: · 7213e75e
      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.
      7213e75e
  5. Apr 19, 2005
    • Yury Umanets's avatar
      - added comment in mds_open() and GNS mount points. · 954a699b
      Yury Umanets authored
      - cleanups in sanity-gns.sh
      - added one more GNS test - mounting directory with absent mount object
      954a699b
    • Yury Umanets's avatar
      - cosmetic changes in mdapi DLD · 1fa249eb
      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
      1fa249eb
  6. Apr 13, 2005
  7. Apr 09, 2005
  8. Apr 07, 2005
  9. Apr 05, 2005
  10. Apr 04, 2005
  11. Mar 31, 2005
  12. Mar 29, 2005
    • jacob's avatar
      r=phil · 0b149ce3
      jacob authored
      remove unused files.
      0b149ce3
  13. Mar 16, 2005
  14. Mar 13, 2005
  15. Mar 02, 2005
  16. Feb 28, 2005
  17. Feb 22, 2005
  18. Feb 04, 2005
  19. Nov 23, 2004
    • Yury Umanets's avatar
      - lots of fixes and cleanups in cobd and cmobd. · b258207f
      Yury Umanets authored
      - fixes and clanups in cmobd.sh and cobd.sh
      - changes in lconf about module loading in OSD and MDSDEV.
      - fixes in lconf about mount options forming.
      - fixes in lmc about client ref managing.
      - fixes in lconf about cmobd and cobd setup.
      b258207f
  20. Nov 19, 2004
    • Yury Umanets's avatar
      - fixes and cleanups in error messages and in code. · 81754566
      Yury Umanets authored
      - changed mds_alloc_inode_sid() to allocate lustre_id in memory if there is
      no passed one. This makes mds stuff do not use lustre_id allocated on stack
      if there is only need to allocate inode sid without using it later. This
      makes stack consumption smaller by 40 bytes in each such a case.
      
      - in mds_setup() whrn comparing strings passed from userspace use strncmp()
      - root lustre_id should be set up also in cases when there is no profile.
      - making do not use lustre_id allocated on stack in places where it is possible.
      
      - moving mds_finish_transno() calling to place where dput() for dchild is
      already called to make sure, that unlink op got to current transaction.
      
      - lots of changes in lconf. MDSDEV stuff is changed substantionaly. Removing
      bugs prone code, replacing it by new one about setting up MDS, LMV, etc.
      Added more verbose messages about MDS, LMV configuration. Removed redundant
      stuff about forming mount options. It now is moved to function and be used from
      few places.
      
      - fixes in CMOBD and COBD objects about using LMV.
      
      - fixed double client_ref adding to LMV, what led to double client config
      writing on MDS setup.
      81754566
  21. Nov 16, 2004
  22. Nov 15, 2004
  23. Nov 14, 2004
  24. Nov 13, 2004
  25. Nov 11, 2004
  26. Oct 24, 2004
  27. Oct 23, 2004
  28. Aug 30, 2004
    • Eric Mei's avatar
      land b_groups onto HEAD: · 7bb892f4
      Eric Mei authored
       - add a flag in lustre_msg which indicate message type
       - add a security descriptor into most of messages send to MDSs, which
         include the uid, supplementary groups array etc.
       - add group hash
       - MDS retrive local groups database through upcall, and set/merge with
         which sent from client based on policies (here not totally finished)
       - move root_squash test into separate sanity-sec.sh
      7bb892f4
  29. Aug 26, 2004
  30. Aug 24, 2004
Loading