]> sourceware.org Git - lvm2.git/commit
dev_manager: enabled no_flush for suspend
authorZdenek Kabelac <zkabelac@redhat.com>
Sun, 25 Oct 2015 19:37:39 +0000 (20:37 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Sun, 25 Oct 2015 20:07:37 +0000 (21:07 +0100)
commit844b00958492224c448b30f89ae5532bb6591fd2
treed6d175b0e745a0ebf2a5c10ea1d95991751b5017
parent9ef820a2a5e174cd08097981d7879e1f4cbded01
dev_manager: enabled no_flush for suspend

While the activation code tries to evaluate which target
really needs flush with suspend and which may go without flush,
it has stayed effectively disabled by original commit:
33f732c5e9493cda4b161a18b3d53885d207e3b8 since here
it only allows to pass non-pvmoving  'mirrors'.

So remove check for mirror LV type and only disable
no_flush for 'pvmove'..

TODO: Looking into history - it also seemed like raid target
would have always required flushing but it's been later
removed without clean explanation.

If some more targets really do need 'no_flush' it should
been handle at their 'level' - since we now stack multiple
targets over itself.
WHATS_NEW
lib/activate/dev_manager.c
This page took 0.04034 seconds and 5 git commands to generate.