RFC: DRBD Fixes and REQ_DISCARD support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest24 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/24 | drbd: Break a deadlock while concurrent fencing and establishing a connectiondrivers/ | +13 | 0 replies | |
| 2/24 | drbd: Leave IO suspended if the fence handler find the peer primarydrivers/ drivers/ | +21 | 0 replies | |
| 3/24 | drbd: Remove drbd_wrappers.hdrivers/ drivers/ drivers/ +3 more | +35 | 0 replies | |
| 4/24 | drbd: Allow online layout change of AL while peer is not connecteddrivers/ | +1 | 0 replies | |
| 5/24 | drbd: fix stalled resync detection in /proc/drbddrivers/ | +1 | 0 replies | |
| 6/24 | drbd: resync: fix too large bursts for very slow ratesdrivers/ | +1 | 0 replies | |
| 7/24 | drbd: fix potential distributed deadlock during verify or resyncdrivers/ drivers/ | +29 | 0 replies | |
| 8/24 | drbd: don't let application IO pre-empt resync too oftendrivers/ drivers/ drivers/ | +34 | 0 replies | |
| 9/24 | drbd: Do not BUG() when connection breaks in a special waydrivers/ | +7 | 0 replies | |
| 10/24 | drbd: perpare for genetlink parallel_opsdrivers/ drivers/ drivers/ | +198 | 0 replies | |
| 11/24 | drbd: allow parallel promote/demote actionsdrivers/ drivers/ drivers/ | +88 | 0 replies | |
| 12/24 | drbd: prepare receiving side for REQ_DISCARDdrivers/ drivers/ drivers/ +2 more | +100 | 0 replies | |
| 13/24 | drbd: prepare sending side for REQ_DISCARDdrivers/ drivers/ drivers/ +1 more | +30 | 0 replies | |
| 14/24 | drbd: Enable QUEUE_FLAG_DISCARD only if the peer can recieve P_TRIMdrivers/ drivers/ drivers/ +1 more | +37 | 0 replies | |
| 15/24 | drbd: fix a race between start_resync and send_and_submitdrivers/ | +8 | 0 replies | |
| 16/24 | drbd: keep max-bio size during detach/attach on disconnected primarydrivers/ | +7 | 0 replies | |
| 17/24 | drbd: add back some fairness to AL transactionsdrivers/ drivers/ drivers/ | +22 | 0 replies | |
| 18/24 | drbd: always implicitly close last epoch when idledrivers/ | +15 | 0 replies | |
| 19/24 | drbd: Fix a hole in the challange-response connection authenticationdrivers/ | +12 | 0 replies | |
| 20/24 | drbd: evaluate disk and network timeout on different requestsdrivers/ | +33 | 0 replies | |
| 21/24 | drbd: use blk_set_stacking_limits()drivers/ include/ | +7 | 0 replies | |
| 22/24 | drbd: Test cstate while holding req_lockdrivers/ include/ | +3 | 0 replies | |
| 23/24 | drbd: Allow attaching of a newly created device to any backing devicedrivers/ | +1 | 0 replies | |
| 24/24 | drbd: use list_first_entry_or_null in first_peer_device/first_connectiondrivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Drbd-dev] [PATCH 00/24] RFC: DRBD Fixes and REQ_DISCARD support
This patch series contains these new features for DRBD:
* Support for REQ_DISCARD
* Allow parallel promote/demote
* Allow online changing of al-stripes and al-stripe-size with the resize command
and contains fixes for these issues:
* fix potential deadlock when concurrently fencing and establishing a connection
* fix potential distributed deadlock during verify or resync
* fix decoding of bitmap vli rle for device sizes > 64 TB
* fix for deadlock when using automatic split-brain-recovery
* only fail empty flushes if no good data is reachable
* avoid to shrink max_bio_size due to peer re-configuration
* fix resume-io after reconnect with broken fence-peer handler
* fix too large bursts for very slow resync rates
* don't let application IO throttle resync to a stall
* Fixed a hole in the challenge-response implementation
* Fixed a theoretical IO deadlock (Only triggers with unusual small AL i.e. 7)
* Fixed attaching to disks with fixed size external meta-data
(This regressions was introduced with 8.4.3)
* Fixed a crash when the connection broke at a very exact point in time while a graceful disconnect executes
Lars Ellenberg (15):
drbd: fix stalled resync detection in /proc/drbd
drbd: resync: fix too large bursts for very slow rates
drbd: fix potential distributed deadlock during verify or resync
drbd: don't let application IO pre-empt resync too often
drbd: perpare for genetlink parallel_ops
drbd: allow parallel promote/demote actions
drbd: prepare receiving side for REQ_DISCARD
drbd: prepare sending side for REQ_DISCARD
drbd: Enable QUEUE_FLAG_DISCARD only if the peer can recieve P_TRIM
drbd: fix a race between start_resync and send_and_submit
drbd: keep max-bio size during detach/attach on disconnected primary
drbd: add back some fairness to AL transactions
drbd: always implicitly close last epoch when idle
drbd: evaluate disk and network timeout on different requests
drbd: use list_first_entry_or_null in first_peer_device/first_connection
Philipp Reisner (9):
drbd: Break a deadlock while concurrent fencing and establishing a connection
drbd: Leave IO suspended if the fence handler find the peer primary
drbd: Remove drbd_wrappers.h
drbd: Allow online layout change of AL while peer is not connected
drbd: Do not BUG() when connection breaks in a special way
drbd: Fix a hole in the challange-response connection authentication
drbd: use blk_set_stacking_limits()
drbd: Test cstate while holding req_lock
drbd: Allow attaching of a newly created device to any backing device
drivers/block/drbd/drbd_actlog.c | 23 +- drivers/block/drbd/drbd_int.h | 92 ++++++- drivers/block/drbd/drbd_main.c | 28 ++- drivers/block/drbd/drbd_nl.c | 485 ++++++++++++++++++++++--------------- drivers/block/drbd/drbd_nla.c | 1 - drivers/block/drbd/drbd_proc.c | 2 +- drivers/block/drbd/drbd_protocol.h | 12 + drivers/block/drbd/drbd_receiver.c | 196 ++++++++++----- drivers/block/drbd/drbd_req.c | 74 ++++-- drivers/block/drbd/drbd_req.h | 6 +- drivers/block/drbd/drbd_state.c | 38 +-- drivers/block/drbd/drbd_worker.c | 107 ++++---- drivers/block/drbd/drbd_wrappers.h | 54 ----- 13 files changed, 701 insertions(+), 417 deletions(-) delete mode 100644 drivers/block/drbd/drbd_wrappers.h
Signature · 1 line
1.9.1