1. 17 8月, 2009 4 次提交
    • S
      GFS2: Replace assertion with proper error handling · 05164e5b
      Steven Whitehouse 提交于
      One fewer assert, one more place we can recover gracefully
      if there is an error.
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      05164e5b
    • S
      GFS2: Improve error handling in inode allocation · 6050b9c7
      Steven Whitehouse 提交于
      A little while back, block allocation was given some improved
      error handling which meant that -EIO was returned in the case
      of there being a problem in the resource group data. In addition
      a message is printed explaning what went wrong and how to fix it.
      This extends that error handling so that it also covers inode
      allocation too.
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      6050b9c7
    • S
      GFS2: Add some more info to uevents · 440d6da2
      Steven Whitehouse 提交于
      With each uevent, we now always include the journal ID. We
      can't call it JID since that is already in use by some of
      the individual events relating to recovery, so we use
      JOURNALID instead. We don't send the JOURNALID for spectator
      mounts, since there isn't one.
      
      Also the ADD event now has both RDONLY and SPECTATOR information
      to match that of the ONLINE event.
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      440d6da2
    • S
      GFS2: Add online uevent to GFS2 · 8633ecfa
      Steven Whitehouse 提交于
      We already have an offline uevent (used when a withdraw occurs)
      but no online uevent. This adds an online uevent so that userspace
      will be able to detect a successful mount by means other than
      not receiving a remove event after the add & recovery (change)
      uevents.
      
      It has also been added to the remount path as well - we can't use
      a change uevent there as older GFS2 userspace acts on change uevents
      according to the state that it thinks the fs is in, so we can't
      easily add any new ones.
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      8633ecfa
  2. 16 8月, 2009 1 次提交
  3. 14 8月, 2009 1 次提交
  4. 12 8月, 2009 13 次提交
  5. 11 8月, 2009 1 次提交
    • J
      ocfs2: Fix possible deadlock when extending quota file · b409d7a0
      Jan Kara 提交于
      In OCFS2, allocator locks rank above transaction start. Thus we
      cannot extend quota file from inside a transaction less we could
      deadlock.
      
      We solve the problem by starting transaction not already in
      ocfs2_acquire_dquot() but only in ocfs2_local_read_dquot() and
      ocfs2_global_read_dquot() and we allocate blocks to quota files before starting
      the transaction.  In case we crash, quota files will just have a few blocks
      more but that's no problem since we just use them next time we extend the
      quota file.
      Signed-off-by: NJan Kara <jack@suse.cz>
      Signed-off-by: NJoel Becker <joel.becker@oracle.com>
      b409d7a0
  6. 10 8月, 2009 3 次提交
  7. 08 8月, 2009 11 次提交
  8. 04 8月, 2009 4 次提交
  9. 02 8月, 2009 2 次提交