]> git.baikalelectronics.ru Git - kernel.git/commit
dm writecache: return the exact table values that were set
authorMikulas Patocka <mpatocka@redhat.com>
Thu, 4 Feb 2021 10:20:52 +0000 (05:20 -0500)
committerMike Snitzer <snitzer@redhat.com>
Mon, 8 Feb 2021 16:32:54 +0000 (11:32 -0500)
commit5a4d54384302bd282198507ae2c2d0740bdd19fc
tree612cdeeca910f7af0c7302644bb566013eb1ddb1
parentc59be15419fac6d29fc8cbf3b149e0089bbc05a9
dm writecache: return the exact table values that were set

LVM doesn't like it when the target returns different values from what
was set in the constructor. Fix dm-writecache so that the returned
table values are exactly the same as requested values.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org # v4.18+
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-writecache.c