summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2016-06-14 01:26:21 +0300
committerJens Axboe <axboe@fb.com>2016-06-14 06:43:05 +0300
commit69ba1ee9360a6ed4adb3168fd93db430a4276332 (patch)
tree28555aad1824906e29354236f8a215d4f030b7c9 /README
parentdd4f699da674010c58d7a2534215b4ca1ff13b13 (diff)
downloadlinux-69ba1ee9360a6ed4adb3168fd93db430a4276332.tar.xz
drbd: possibly disable discard support, if backend has discard_zeroes_data=0
Now that we have the discard_zeroes_if_aligned setting, we should also check it when setting up our queue parameters on the primary, not only on the receiving side. We announce discard support, UNLESS * we are connected to a peer that does not support TRIM on the DRBD protocol level. Otherwise, it would either discard, or do a fallback to zero-out, depending on its backend and configuration. * our local backend does not support discards, or (discard_zeroes_data=0 AND discard_zeroes_if_aligned=no). Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions