1. 05 9月, 2006 1 次提交
  2. 01 9月, 2006 1 次提交
    • S
      [GFS2] Update copyright, tidy up incore.h · e9fc2aa0
      Steven Whitehouse 提交于
      As per comments from Jan Engelhardt <jengelh@linux01.gwdg.de> this
      updates the copyright message to say "version" in full rather than
      "v.2". Also incore.h has been updated to remove forward structure
      declarations which are not required.
      
      The gfs2_quota_lvb structure has now had endianess annotations added
      to it. Also quota.c has been updated so that we now store the
      lvb data locally in endian independant format to avoid needing
      a structure in host endianess too. As a result the endianess
      conversions are done as required at various points and thus the
      conversion routines in lvb.[ch] are no longer required. I've
      moved the one remaining constant in lvb.h thats used into lm.h
      and removed the unused lvb.[ch].
      
      I have not changed the HIF_ constants. That is left to a later patch
      which I hope will unify the gh_flags and gh_iflags fields of the
      struct gfs2_holder.
      
      Cc: Jan Engelhardt <jengelh@linux01.gwdg.de>
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      e9fc2aa0
  3. 04 7月, 2006 1 次提交
  4. 19 5月, 2006 1 次提交
  5. 15 2月, 2006 1 次提交
    • S
      [GFS2] Fix for lock recursion problem for internal files · 61a30dcb
      Steven Whitehouse 提交于
      Two internal files which are read through the gfs2_internal_read()
      routine were already locked when the routine was called and this
      do not need locking at the redapages level.
      
      This patch introduces a struct file which is used as a sentinal
      so that readpage will only perform locking in the case that the
      struct file passed to it is _not_ equal to this sentinal.
      
      Since the comments in the generic kernel code indicate that the
      struct file will never be used for anything other than passing
      straight through to readpage(), this should be ok.
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      61a30dcb
  6. 31 1月, 2006 1 次提交
    • S
      [GFS2] Add gfs2_internal_read() · f42faf4f
      Steven Whitehouse 提交于
      Add the new external read function. Its temporarily in jdata.c
      even though the protoype is in ops_file.h - this will change
      shortly. The current implementation will change to a page cache
      one when that happens.
      
      In order to effect the above changes, the various internal inodes
      now have Linux inodes attached to them. We keep the references to
      the Linux inodes, rather than the gfs2_inodes in the super block.
      
      In order to get everything to work correctly I've had to reorder
      the init sequence on mount (which I should probably have done
      earlier when .gfs2_admin was made visible).
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      f42faf4f
  7. 17 1月, 2006 1 次提交