Avoid ext4 auto_da_alloc flush on close.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 22 Oct 2013 21:14:34 +0000 (22:14 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 22 Oct 2013 21:14:34 +0000 (22:14 +0100)
commit68640d56b2ea96401a1355ab56603b0837058d21
tree8cb2034b8b10fdb106d1fb6d56e19efac1c510d3
parent1e6ec94ebea88cd265b4b48deef4bd0d1f2efc6b
Avoid ext4 auto_da_alloc flush on close.

Avoid annoying ext4 auto_da_alloc which causes a flush on close unless
we are very careful about not truncating the file when it has zero
size.  (Thanks Eric Sandeen)
pxzcat.c