xfs
[Top] [All Lists]

XFS and "hole".

To: linux-xfs@xxxxxxxxxxx
Subject: XFS and "hole".
From: "Vadim" <vadimv@xxxxxx>
Date: Tue, 28 Dec 2004 17:45:15 +0200 (EET)
Sender: linux-xfs-bounce@xxxxxxxxxxx
XFS supports "holes". But we created file 100mb with 0  only in it, and it's 
actual size was 100mb, for zeros this support doesn't work. We created other 
file wrote some bytes at the beggining then did seek ~1GB and wrote to the end 
couple more bytes. XFS was showing it's size of 1GB, but actual size of it on 
the disc was only few bytes, that's called "HOLE" as I understand. But it 
doesn't work for 0s, if you write a big ammount of zeros. What we have to do, 
to write an add-on that would work for zeros, but problemm is we can't find any 
good enough specification. We could dig over whole source that was being 
written several years, and VERY badly documentated, but we are limited in 
time... If anybody could help with specification or give an advice, we would 
really apretiate it!

Thank you.
Vadim Vohmjanin.

-----------------------------------------
ITV - Sinu lemmiksaated internetis!
http://www.itv.ee


<Prev in Thread] Current Thread [Next in Thread>