about XFS_IOC_RESVSP

Joe Hsu nagual.hsu at gmail.com
Fri May 22 12:36:26 CDT 2009


Well, I have multiple processes running concurrently, and each writes
on its own files( the sort of files I mentioned), while at the same
time, I have other programs doing normal but light I/O to other files
on the same xfs partition.

Once I thought maybe I can pre-allocate these special files within a
directory, which has fixed allocation groups(I guess that means fixed
sets of blocks), and then I can try to make 'truncate to 0 and
pre-allocate' requests sequential for the running processes. But, XFS
seems to have this feature, I cannot find how to do that.

2009/5/22 Eric Sandeen <sandeen at sandeen.net>:
> Joe Hsu wrote:
> Do you really need the exact same blocks?  What if you just truncate to
> 0 & re-allocate?
>
> -Eric
>



-- 
The sun is shinny but the ice is slippery.




More information about the xfs mailing list