Search String: Display: Description: Sort:

Results:

References: [ +subject:/^(?:^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*)*file\s+preallocation\s+without\s+unwritten\s+flag\s+being\s+set\s*$/: 11 ]

Total 11 documents matching your query.

1. file preallocation without unwritten flag being set (score: 1)
Author: p v <pvlogin@xxxxxxxxx>
Date: Tue, 12 May 2009 16:02:05 -0700 (PDT)
Hello, I need to create large files fast without initializing them - in the past I used these steps - mkfs -t xfs -f -d unwritten=0 /dev/sda1 mount -t xfs -o noatime /dev/sda1 /hay touch /hay/foo xfs
/archives/xfs/2009-05/msg00088.html (7,507 bytes)

2. Re: file preallocation without unwritten flag being set (score: 1)
Author: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Tue, 12 May 2009 19:04:06 -0500
Is there a reason that you don't want the unwritten flag set? (You know that not using the unwritten extents feature exposes garbage from the disk in this case?) There may well be a legit reason but
/archives/xfs/2009-05/msg00089.html (9,129 bytes)

3. Re: file preallocation without unwritten flag being set (score: 1)
Author: p v <pvlogin@xxxxxxxxx>
Date: Tue, 12 May 2009 21:34:57 -0700 (PDT)
I want to avoid any metadata modifications while doing O_DIRECT reads (the fs is mounted with noatime). Right now I am doing it mostly for testing - I am seeing a performance degradation going from r
/archives/xfs/2009-05/msg00091.html (11,650 bytes)

4. Re: file preallocation without unwritten flag being set (score: 1)
Author: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Wed, 13 May 2009 00:08:48 -0500
you may want to try the inode64 mount option so the allocator is free to roam your whole 10T ... Ok, so it sounds like you do understand the implications and you want to be able to write into preallo
/archives/xfs/2009-05/msg00092.html (10,350 bytes)

5. Re: file preallocation without unwritten flag being set (score: 1)
Author: p v <pvlogin@xxxxxxxxx>
Date: Wed, 13 May 2009 14:05:16 -0700 (PDT)
doesn't seem to work - I tried to clear the extflg in the versionnum of the superblock (in every copy of it as well) but it doesn't work. The flag is still set on all extents. versionnum [0xb4a4+0x8]
/archives/xfs/2009-05/msg00097.html (13,792 bytes)

6. Re: file preallocation without unwritten flag being set (score: 1)
Author: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Wed, 13 May 2009 16:48:39 -0500
Oh, you'd probably need to do this when there are no files already with the flag, i.e. on a fresh fs I think. all options for mkfs should be doc'd in the mkfs.xfs manpage inode64 is also doc'd in my
/archives/xfs/2009-05/msg00098.html (11,076 bytes)

7. Re: file preallocation without unwritten flag being set (score: 1)
Author: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Thu, 14 May 2009 08:28:23 +1000
Sure - that xfs_db command only clears it from the superblock so that *new* preallocations don't have the unwritten bit set. it doesn't change existing allocations. More likely is that repair is seei
/archives/xfs/2009-05/msg00100.html (10,637 bytes)

8. Re: file preallocation without unwritten flag being set (score: 1)
Author: p v <pvlogin@xxxxxxxxx>
Date: Wed, 13 May 2009 16:51:48 -0700 (PDT)
I did it on a fresh filesystem (of course). It didn't make a difference - sb flags cleared, extent flags set, xfs_repair unhappy. I tried to repro again and do cut/paste of my steps but I lost the ma
/archives/xfs/2009-05/msg00101.html (14,576 bytes)

9. Re: file preallocation without unwritten flag being set (score: 1)
Author: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Wed, 13 May 2009 19:17:41 -0500
Strange, I don't see that when I test. versionnum 0xa4a4"; done 00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00014000 09 d6 99 0d a7 43 a2 c9 95 ca 88 f6 4a 0c 93 8e 00014010 ab b5 1a 1
/archives/xfs/2009-05/msg00102.html (12,781 bytes)

10. Re: file preallocation without unwritten flag being set (score: 1)
Author: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Thu, 14 May 2009 10:34:22 +1000
...... Uninitialised extents beyond EOF get zeroed when EOF is moved. if you set the set before preallocation, then there are no extents to zero. FWIW, if they have the unwritten flag, this zeroing d
/archives/xfs/2009-05/msg00103.html (11,509 bytes)

11. Re: file preallocation without unwritten flag being set (score: 1)
Author: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Wed, 13 May 2009 19:41:22 -0500
We meant the same thing, even if I said it wrong ;) -Eric
/archives/xfs/2009-05/msg00104.html (10,403 bytes)


This search system is powered by Namazu