Displaying 3 results from an estimated 3 matches for "auto_da_alloc".
2013 Oct 23
1
Re: [PATCH 1/2] Preallocate output file
On Wed, Oct 23, 2013 at 03:38:30AM +0100, Pádraig Brady wrote:
[...]
By the way, Eric Sandeen solved the problem. It's a genuine
misfeature in ext4 called auto_da_alloc which causes a flush on close
if the file has been truncated (ftruncate or O_TRUNC) and the file
size is zero bytes. I added these patches which work around the
issue:
http://git.annexia.org/?p=pxzcat.git;a=commitdiff;h=68640d56b2ea96401a1355ab56603b0837058d21
http://git.annexia.org/?p=pxzcat.git...
2009 Sep 20
0
Re: reiserfs3/ext4/btrfs RAID read performance
...details:
> >>
> >> md8 : active raid10 sda7[0] sdd7[3] sdc7[2] sdb7[1]
> >> 62925824 blocks 256K chunks 2 far-copies [4/4] [UUUU]
> >>
> >> Ext4:
> >> mkfs.ext4 -E stride=64,stripe-width=128 /dev/md8
> >> mount -t ext4 -o noatime,auto_da_alloc,commit=600 /dev/md8 /mnt/md8
Here, stripe-width should be 4* stride, not that it''ll make much
difference.
> >> Reiser3:
> >> mount -t reiserfs /dev/md8 /mnt/md8
> >> mount -t reiserfs -o noatime,notail /dev/md8 /dev/md8
> >>
> >> Ext4 results:...
2013 Oct 22
2
[PATCH 1/2] Preallocate output file
---
pxzcat.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/pxzcat.c b/pxzcat.c
index 4ab8689..9bcdc36 100644
--- a/pxzcat.c
+++ b/pxzcat.c
@@ -29,10 +29,11 @@
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
+#define _GNU_SOURCE
#include <config.h>