tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: zero-filed page on VOP_PUTPAGES

On Sun, Aug 07, 2011 at 10:30:19AM +0200, Emmanuel Dreyfus wrote:
> I am tracking what I suspect to be a bug in PUFFS kernel code. After a
> fsync, sometimes I have the beginning of a page filled with zeros. On
> the next write, the correct new data will be appended to the page, and
> it will be written with the zeros to the file.

I remember an issue like that with "rump_smbfs" a while ago. The problem
was that a VOP_SETATTR() on PUFFS sets the file-size. And in this case
the backend in SMBFS used 32-bit file offset and therefore truncated
the file.

        Kind regards

Matthias Scheler                        

Home | Main Index | Thread Index | Old Index