public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* XFS Preallocation
@ 2011-01-28  2:05 Jef Fox
  2011-01-28  4:52 ` Dave Chinner
  0 siblings, 1 reply; 11+ messages in thread
From: Jef Fox @ 2011-01-28  2:05 UTC (permalink / raw)
  To: xfs


[-- Attachment #1.1: Type: text/plain, Size: 937 bytes --]

We are having some problems with preallocation of large files.  We have
found that we can preallocate about 500 1GB files on a volume using the
resvsp and truncate commands, but the extents are still showing up as
preallocated.  Is this a problem?  The OS appears to think the files are
allocated and correctly sized. 

 

For reference, we are trying to create files for an external piece of
equipment to write to a SSD with.  The SSD would then be mounted in RHEL
and the data pulled off in the 1G chunks.  Because of the nature of the
data, we need to constantly erase and recreate the files and
preallocation seems to be the fastest option.  We don't really care if
the data gets 0'ed out.  Is there another method - allocsp takes too
long for this application?  Or, does it matter if XFS thinks the extents
are preallocated but unwritten if no other files are written to the
disk?

 

Thanks

Jef

 

 


[-- Attachment #1.2: Type: text/html, Size: 2783 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-02-02  0:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-28  2:05 XFS Preallocation Jef Fox
2011-01-28  4:52 ` Dave Chinner
2011-01-28 15:15   ` Jef Fox
2011-01-28 17:33   ` Jef Fox
2011-01-29  0:17     ` Dave Chinner
2011-02-01  4:45       ` Peter Vajgel
2011-02-01  8:03         ` Dave Chinner
2011-02-01 19:20           ` Peter Vajgel
2011-02-01 20:12             ` Stan Hoeppner
2011-02-01 22:47               ` Peter Vajgel
2011-02-02  0:07             ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox