| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | Any fast way to make an ever pre-allocated extent become unwritten again? |
| From: | Joe Hsu <nagual.hsu@xxxxxxxxx> |
| Date: | Sun, 24 May 2009 15:27:02 +0800 |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=M8C3u03pQ5bQIJQp1AzV84RvR4ZszRq/S5pbb555Nos=; b=ngb0IGZlJ7M/zb7Rdxiibwg1oRpDKzR0mRIdOYfs59dMQLQGBVQ/8JjmtiPI+hiRKG ULJInAPaRd9h85NpheLeBZ5EgYzujEWprPF2XmTQNVP55SSd3Fi2jyhTN7me4sn7d7+V n1EdY8VwSwG6vI6oDQVfa/JWejdn5czvZgxBs= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=jlWoTOhBBwfJ0pC1EGcYcBVhvOC47zIWsi8ANjhIy5TzpvwDpEB94EC3MDxZ9sO1hu nqBufefFO1wj0WuUM1LJVJAi5WHrqbEhLw1IQHUKWpLZJRT/TEVGN/qMhlN0sZY3Oz0J OUAXY1sMlp0sUdLV3I5QEcogTRcOeZLIDQkuc= |
I do really need this. When pre-allocated, files are not
fragmented. After writing data to these files, I just want to make the
extent un-written again, using the same allocated blocks. I can only
initialize these files as un-fragmented in the beginning and I don't
want to over-write them simply after they are fully written because
over-writings can cause input traffic(partial updating of some
blocks), thus lowering output performance.
Thanks if any one can give me some idea. (Except dirty hacks into
xfs filesystem kernel codes).
--
The sun is shinny but the ice is slippery.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: about XFS_IOC_RESVSP, Joe Hsu |
|---|---|
| Next by Date: | Re: about XFS_IOC_RESVSP, Eric Sandeen |
| Previous by Thread: | [PATCH] fix overflow in xfs_growfs_data_private, Eric Sandeen |
| Next by Thread: | Whitepaper: Modular Product Architecture (MPA) for Industrial Manufacturers, ptccommunications@xxxxxxx |
| Indexes: | [Date] [Thread] [Top] [All Lists] |