xfs
[Top] [All Lists]

get allocated filesize after preallocate

To: linux-xfs@xxxxxxxxxxx
Subject: get allocated filesize after preallocate
From: Ying-Hung Chen <ying@xxxxxxxxxxxxxx>
Date: Thu, 29 Sep 2005 18:45:48 +0800
Cc: Ying-Hung Chen <ying@xxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
Hello all,

        one more question, after I preallocate with XFS_IOC_RESVSP, the
filesize is 0. How do I get the 'allocated' filesize? fseek/lseek/stat
all returns 0 instead of allocated size,

Thanks,

-Ying


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