1. 10 3月, 2011 3 次提交
  2. 23 10月, 2010 1 次提交
  3. 22 10月, 2010 1 次提交
    • L
      drbd: fix potential data divergence after multiple failures · 6719fb03
      Lars Ellenberg 提交于
      If we get an IO-error during an activity log transaction,
      if we failed to write the bitmap of the evicted extent,
      we must not write the transaction itself.
      If we failed to write the transaction,
      we must not even submit the corresponding bio,
      as its extent is not yet marked in the activity log.
      
      Otherwise, if this was a disconneted Primary (degraded cluster), which
      now lost its disk as well, and we later re-attach the same backend
      storage, we possibly "forget" to resync some parts of the disk that
      potentially have been changed.
      
      On the receiving side, when receiving from a peer with unhealthy disk,
      checking for pdsk == D_DISKLESS is not enough, we need to set out of
      sync and do AL transactions for everything pdsk < D_INCONSISTENT on the
      receiving side.
      Signed-off-by: NPhilipp Reisner <philipp.reisner@linbit.com>
      Signed-off-by: NLars Ellenberg <lars.ellenberg@linbit.com>
      6719fb03
  4. 15 10月, 2010 2 次提交
  5. 08 8月, 2010 1 次提交
    • C
      block: unify flags for struct bio and struct request · 7b6d91da
      Christoph Hellwig 提交于
      Remove the current bio flags and reuse the request flags for the bio, too.
      This allows to more easily trace the type of I/O from the filesystem
      down to the block driver.  There were two flags in the bio that were
      missing in the requests:  BIO_RW_UNPLUG and BIO_RW_AHEAD.  Also I've
      renamed two request flags that had a superflous RW in them.
      
      Note that the flags are in bio.h despite having the REQ_ name - as
      blkdev.h includes bio.h that is the only way to go for now.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NJens Axboe <jaxboe@fusionio.com>
      7b6d91da
  6. 02 4月, 2010 1 次提交
  7. 11 3月, 2010 1 次提交
  8. 02 10月, 2009 2 次提交