]> www.infradead.org Git - users/hch/block.git/commit
drbd: split out a drbd_discard_supported helper
authorChristoph Hellwig <hch@lst.de>
Sun, 25 Feb 2024 06:49:28 +0000 (07:49 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 4 Mar 2024 14:08:02 +0000 (07:08 -0700)
commitca3457216613589fecbd4a34c7e7e042cfbd99c1
treeba4e205829890d81e50f638440fb13584405de45
parent91b30f3c1955ab756ee0ffafbb2284b6ee6f8d1a
drbd: split out a drbd_discard_supported helper

Add a helper to check if discard is supported for a given connection /
backing device combination.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/block/drbd/drbd_nl.c