[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8074: Fix sparse-pipe test on 2.6.26 kernel
From: |
Gilles Espinasse |
Subject: |
bug#8074: Fix sparse-pipe test on 2.6.26 kernel |
Date: |
Fri, 18 Feb 2011 13:40:49 +0100 |
----- Original Message -----
From: "Pádraig Brady" <address@hidden>
To: "Gilles Espinasse" <address@hidden>
Cc: "Jim Meyering" <address@hidden>; <address@hidden>
Sent: Friday, February 18, 2011 11:54 AM
Subject: bug#8074: Fix sparse-pipe test on 2.6.26 kernel
...
> >
> > If I add a dd if=/dev/null of=pipe conv=notrunc,fdatasync, test
reliabily
> > work too.
> > So I added that in attached patch.
>
> Good testing!
> Interesting to see that fdatasync flushes the pipe to disk.
> However it might be more portable/robust to use `wait`
> rather than that dd command?
>
> cheers,
> Pádraig.
>
wait work fine
Find v2 attached
Gilles
v2-Fix-unreliable-sparse-to-pipe-test-on-cmp-on-debian-2.6.26.patch
Description: Binary data