]> sourceware.org Git - lvm2.git/commit
cache: support no_discard_passdown
authorZdenek Kabelac <zkabelac@redhat.com>
Wed, 5 Jun 2019 12:31:34 +0000 (14:31 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Wed, 5 Jun 2019 13:48:41 +0000 (15:48 +0200)
commite3c4ab0cc788b0190ab58446189c2d6b07a27b98
treecf22baba14683aaa770557eccd8842564ca9e286
parentd18e491f6890e15a677e8189de0699ccc7412f16
cache: support no_discard_passdown

Recent kernel version from kernel commit:
de7180ff908b2bc0342e832dbdaa9a5f1ecaa33a
started to report in cache status line new flag:
no_discard_passdown

Whenever lvm spots unknown status it reports:
Unknown feature in status:

So add reconginzing this feature flag and also report this with

'lvs -o+kernel_discards'

When no_discard_passdown is found in status 'nopassdown' gets reported
for this field  (roughly matching what we report for thin-pools).
WHATS_NEW
WHATS_NEW_DM
device_mapper/all.h
device_mapper/libdm-targets.c
lib/metadata/lv.c
libdm/libdevmapper.h
libdm/libdm-targets.c
This page took 0.03437 seconds and 5 git commands to generate.