dm writecache: handle REQ_FUA
authorMaged Mokhtar <mmokhtar@petasan.org>
Wed, 23 Oct 2019 20:41:17 +0000 (22:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Dec 2019 19:34:52 +0000 (20:34 +0100)
commit10b9bf59bab1018940e8949c6861d1a7fb0393a1
treeb1247d232d17fd1aa9f832cdf7f9c0beb62063df
parent7c07d0267364194aae9786ec0b3d70a65c83329b
dm writecache: handle REQ_FUA

commit c1005322ff02110a4df7f0033368ea015062b583 upstream.

Call writecache_flush() on REQ_FUA in writecache_map().

Cc: stable@vger.kernel.org # 4.18+
Signed-off-by: Maged Mokhtar <mmokhtar@petasan.org>
Acked-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/dm-writecache.c