1. 18 5月, 2010 2 次提交
    • P
      drbd: Do not upgrade state to Outdated if already Inconsistent [Bugz 277] · e4f925e1
      Philipp Reisner 提交于
      There was a race condition:
        In a situation with a SyncSource+Primary and a SyncTarget+Secondary node,
        and a resync dependency to some other device. After both nodes decided
        to do the resync, the other device finishes its resync process.
        At that time SyncSource already sent the P_SYNC_UUID packet, and
        already updated its peer disk state to Inconsistent.
        The SyncTarget node waits for the P_SYNC_UUID and sends a state packet
        to report the resync dependency change. That packet still carries
        a disk state of Outdated.
      
      Impact:
        If application writes come in, during that time on the Primary node,
        those do not get replicated, and the out-of-sync counter gets increased.
        => The completion of resync is not detected on the primary node.
        => stalled.
        Those blocks get resync'ed with the next resync, since the are get
        marked as out-of-sync in the bitmap.
      
      In order to fix this, we filter out that wrong state change in the
      sanitize_state() function.
      Signed-off-by: NPhilipp Reisner <philipp.reisner@linbit.com>
      Signed-off-by: NLars Ellenberg <lars.ellenberg@linbit.com>
      e4f925e1
    • L
      drbd: use proc_create_data with explicit NULL argument · 8c484ee4
      Lars Ellenberg 提交于
      To document that we know about deprecation of proc_create,
      even though we are not affected, as we don't use the ->data member,
      open code proc_create_data(..., NULL);
      Signed-off-by: NPhilipp Reisner <philipp.reisner@linbit.com>
      Signed-off-by: NLars Ellenberg <lars.ellenberg@linbit.com>
      8c484ee4
  2. 17 5月, 2010 3 次提交
  3. 11 5月, 2010 2 次提交
    • R
      paride: fix menu indentation · 2395e463
      Randy Dunlap 提交于
      Make the PARIDE menu be displayed correctly, with proper/expected
      indentation, by moving the GDROM kconfig symbol, which was
      splitting the PARIDE kconfig symbol from its dependent symbols.
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      2395e463
    • M
      block: allow initialization of previously allocated request_queue · 01effb0d
      Mike Snitzer 提交于
      blk_init_queue() allocates the request_queue structure and then
      initializes it as needed (request_fn, elevator, etc).
      
      Split initialization out to blk_init_allocated_queue_node.
      Introduce blk_init_allocated_queue wrapper function to model existing
      blk_init_queue and blk_init_queue_node interfaces.
      
      Export elv_register_queue to allow a newly added elevator to be
      registered with sysfs.  Export elv_unregister_queue for symmetry.
      
      These changes allow DM to initialize a device's request_queue with more
      precision.  In particular, DM no longer unconditionally initializes a
      full request_queue (elevator et al).  It only does so for a
      request-based DM device.
      Signed-off-by: NMike Snitzer <snitzer@redhat.com>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      01effb0d
  4. 03 5月, 2010 1 次提交
  5. 29 4月, 2010 22 次提交
  6. 28 4月, 2010 10 次提交