xfs
[Top] [All Lists]

Re: about XFS_IOC_RESVSP

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: about XFS_IOC_RESVSP
From: Joe Hsu <nagual.hsu@xxxxxxxxx>
Date: Sat, 23 May 2009 01:36:26 +0800
Cc: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=86jiLlcdydPyWyiHWW8ga0SGG6j6K7984gFr4sFioGA=; b=DooUrIPHOe78VLCjbvx809sswz3kFekDWMl3QVvcK3u15kYQdGnAgCR3Vlx4nBABmT haxN2/Fp6ZL2V0jJkbSqgaSzh1poVOfpaif9e+NzL5X+qhlJ8Zp9VqM76JyWl8Y/wZ0p emFGXfRgGB0aAOXUXfkZfzQ1bVud0+y2mc3vs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=e+FxznFYXLgcseflV+2vl9eU2vN76SvUBRSbZ01O4Oui6EWt6vt1G9mDxy9Ljns0oX TGw/9/QRHqqOZUe98E0xW8qbcuqeBqQmKgD2r1j27gvMmABUMmoGH95FdL4hm4OOKF/S cyo2KaJjLy05ZAXycmO6PG2MDfCy3ujKKziQo=
In-reply-to: <4A16C97A.2020909@xxxxxxxxxxx>
References: <7fe205990905220716v7d06b9bch40fe6136af17e345@xxxxxxxxxxxxxx> <4A16C97A.2020909@xxxxxxxxxxx>
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@xxxxxxxxxxx>:
> 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.

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