nozero: More efficient FUA handling
commitee20cbe8abc12c9c909fdbfb62de44fbf2e349b1
authorEric Blake <eblake@redhat.com>
Tue, 13 Aug 2019 21:53:13 +0000 (13 16:53 -0500)
committerEric Blake <eblake@redhat.com>
Wed, 14 Aug 2019 15:57:52 +0000 (14 10:57 -0500)
tree1dc9470c0076807b859ac566596317332eceb2b2
parent0b8ad8c8d228e87d6d876ea055d789d2acc0347a
nozero: More efficient FUA handling

The nozero filter can split a large request with FUA into several
smaller requests; optimize whether the FUA flag is passed on to the
next layer based on whether FUA is emulated with flush (only the last
write needs it) or is natively supported (every write needs it).
Missed in commit df0cc21d.

Signed-off-by: Eric Blake <eblake@redhat.com>
filters/nozero/nozero.c