commit | dc8a01ae1dbd7bac98368da4d8f81632512429f5 | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Mon Feb 24 10:20:34 2020 +0100 |
committer | Mike Snitzer <snitzer@redhat.com> | Tue Mar 24 11:55:09 2020 -0400 |
tree | b95398da45d5805185902d67c7baa837c0328b7a | |
parent | 3923d4854e189d84c6ec22e66d536d3498f2747c [diff] |
dm writecache: optimize superblock write If we write a superblock in writecache_flush, we don't need to set bit and scan the bitmap for it - we can just write the superblock directly. Also, we can set the flag REQ_FUA on the write bio, so that we don't need to submit a flush bio afterwards. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>