1. 17 8月, 2009 3 次提交
    • 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 2 次提交
  3. 15 8月, 2009 1 次提交
  4. 14 8月, 2009 34 次提交