Search String: Display: Description: Sort:

Results:

References: [ +subject:/^(?:^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*)*Preallocation\s+with\s+direct\s+IO\?\s*$/: 5 ]

Total 5 documents matching your query.

1. Preallocation with direct IO? (score: 1)
Author: "amit.sahrawat83@xxxxxxxxx" <amit.sahrawat83@xxxxxxxxx>
Date: Thu, 29 Dec 2011 13:10:49 +0000
Hi, I am using a test setup which is doing write using multiple threads using direct IO. The buffer size which is used to write is 512KB. After continously running this for long duration - i observe
/archives/xfs/2011-12/msg00425.html (7,977 bytes)

2. Re: Preallocation with direct IO? (score: 1)
Author: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Fri, 30 Dec 2011 07:57:45 +1100
Direct IO does not do any implicit preallocation. The filesystem simply gets out of the way of direct IO as it is assumed you know what you are doing. i.e. you know how to use the fallocate() or ioct
/archives/xfs/2011-12/msg00432.html (8,509 bytes)

3. Re: Preallocation with direct IO? (score: 1)
Author: Amit Sahrawat <amit.sahrawat83@xxxxxxxxx>
Date: Fri, 30 Dec 2011 08:37:00 +0530
This is the supporting line I was looking for. I tried to make use of preallocating space using ioctl(XFS_IOC_RESVSP64) - but over time - this is also not working well with the Direct I/O. Is there a
/archives/xfs/2011-12/msg00435.html (9,713 bytes)

4. Re: Preallocation with direct IO? (score: 1)
Author: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Sat, 31 Dec 2011 07:43:07 +1100
Without knowing how you are using preallocation, I cannot comment on this. Can you describe how your application does IO (size, frequency, location in file, etc) and preallocation (same again), as we
/archives/xfs/2011-12/msg00436.html (10,098 bytes)

5. Re: Preallocation with direct IO? (score: 1)
Author: Amit Sahrawat <amit.sahrawat83@xxxxxxxxx>
Date: Sat, 31 Dec 2011 18:16:00 +0530
Prealloction was done using - snippets like these: fl.l_whence = SEEK_SET; fl.l_start = 0; fl.l_len = (long long) PREALLOC; /* 1GB */ printf ("Preallocating %lld MB\n", (fl.l_len / (1024 * 1024))); e
/archives/xfs/2011-12/msg00437.html (16,633 bytes)


This search system is powered by Namazu