|
From: Scott B. <br...@ri...> - 2006-01-17 23:28:36
|
On Tue, 2006-01-17 at 19:58 +0100, Wolfgang=?iso-8859-1?Q?_K=F6bler?= wrote: > You can find a tiny test program below. Could anyone verify that problem on a > recent version of fuse + shfs ? It's not the most recent recent, but I see the same exact behavior on fuse 2.6.15, fuse-utils 2.4.2, sshfs 1.3 from Ubuntu Dapper. For pos=8120, at offset 8192 (0x2000) it reads back all 0's. For pos=12180, at offset 12288 (0x3000), for 16380, at 0x4000 for 20440, at 0x5000 ... and so on. So, whenever your buffer crosses a multiple of 0x1000 except for 0x1000 itself, the remainder (the portion of the buffer beyond 0x2000) reads back as 0s. Strange. The on-disk file is fine. It contains the correct data. The problem appears to be in the readback. |