Skip to content
Snippets Groups Projects
  1. Apr 22, 2005
  2. Apr 21, 2005
    • Yury Umanets's avatar
      - changes in MDAPI DLD - added subchapter about nested locks issue. · 198ce95a
      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
      198ce95a
    • Yury Umanets's avatar
      - fixed missed -1 in kernel_read() · 73b2b78b
      Yury Umanets authored
      73b2b78b
    • Yury Umanets's avatar
    • 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
    • Yury Umanets's avatar
      - fixes and cleanups in GNS: · 2dd52da5
      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
      2dd52da5
  3. Apr 20, 2005
  4. Apr 19, 2005
    • jacob's avatar
      add support for sles 8: · 3fa8545b
      jacob authored
       - new target for sles 8 kernel
       - post(un) scripts for kernel rpms
       - fixup quota build on sles 8 and sles 9
       - update patches for a more recent sles 8 kernel
      3fa8545b
    • jacob's avatar
      b=b=6065 · 2f07d63b
      jacob authored
      r=eeb
      r=adilger
      
      remove noops when stderr isn't present; just fail instead.
      2f07d63b
    • Eric Mei's avatar
    • 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
  5. Apr 18, 2005
    • Yury Umanets's avatar
      - more fixes and improvements in GNS stuff: · fca29911
      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.
      fca29911
    • Yury Umanets's avatar
    • Yury Umanets's avatar
      - fixed missed comma · d9c38843
      Yury Umanets authored
      d9c38843
    • Yury Umanets's avatar
      - many fixes in GNS code after Nikita's code review. They are the following: · 344a777d
      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.
      344a777d
  6. Apr 15, 2005
  7. Apr 13, 2005
  8. Apr 12, 2005
  9. Apr 09, 2005
  10. Apr 08, 2005
Loading