[0/3] Miscellaneous DRBD updates for 6.2

Message ID 20221109133453.51652-1-christoph.boehmwalder@linbit.com
Headers
Series Miscellaneous DRBD updates for 6.2 |

Message

Christoph Böhmwalder Nov. 9, 2022, 1:34 p.m. UTC
  Here are some various updates for DRBD.
The first two are related to the handling of discards in DRBD, and the
third is a resend of [0].

[0] https://lore.kernel.org/all/20221024142424.25877-1-christoph.boehmwalder@linbit.com/

Christoph Böhmwalder (2):
  drbd: use blk_queue_max_discard_sectors helper
  drbd: Store op in drbd_peer_request

Philipp Reisner (1):
  drbd: disable discard support if granularity > max

 drivers/block/drbd/drbd_int.h      |  8 ++-
 drivers/block/drbd/drbd_nl.c       | 23 +++++++--
 drivers/block/drbd/drbd_receiver.c | 81 +++++++++++++++++-------------
 drivers/block/drbd/drbd_worker.c   |  4 +-
 4 files changed, 71 insertions(+), 45 deletions(-)