Search String: Display: Description: Sort:

Results:

References: [ +subject:/^(?:^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*)*\[PATCH\s+4\/5\]\s+ext4\:\s+fallocate\s+support\s+in\s+ext4\s*$/: 71 ]

Total 71 documents matching your query.

1. Re: [PATCH 4/5] ext4: fallocate support in ext4 (score: 1)
Author: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 3 May 2007 21:31:33 -0700
On Thu, 26 Apr 2007 23:43:32 +0530 "Amit K. Arora" <aarora@xxxxxxxxxxxxxxxxxx> Please always format multiline comments like this: /* * ext4_can_extents_be_merged should have checked that either * bot
/archives/xfs/2007-05/msg00031.html (20,523 bytes)

2. Re: [PATCH 4/5] ext4: fallocate support in ext4 (score: 1)
Author: "Amit K. Arora" <aarora@xxxxxxxxxxxxxxxxxx>
Date: Mon, 7 May 2007 17:37:19 +0530
Ok. Ok. Will expand the description. Ok. Will add this in the function description as well. Right. I don't seem to find any suitable error from posix description. Can you please suggest an error code
/archives/xfs/2007-05/msg00075.html (23,416 bytes)

3. Re: [PATCH 4/5] ext4: fallocate support in ext4 (score: 1)
Author: Dave Kleikamp <shaggy@xxxxxxxxxxxxxxxxxx>
Date: Mon, 07 May 2007 10:24:37 -0500
Isn't the idea that libc will interpret -ENOTTY, or whatever is returned here, and fall back to the current library code to do preallocation? This way, the caller of fallocate() will never see this r
/archives/xfs/2007-05/msg00080.html (12,513 bytes)

4. Re: [PATCH 4/5] ext4: fallocate support in ext4 (score: 1)
Author: Andreas Dilger <adilger@xxxxxxxxxxxxx>
Date: Mon, 7 May 2007 05:37:54 -0600
My understanding is that glibc will handle zero-filling of files for filesystems that do not support fallocate(). I _think_ this is to convince glibc to do the zero-filling in userspace, but I'm not
/archives/xfs/2007-05/msg00084.html (15,281 bytes)

5. Re: [PATCH 4/5] ext4: fallocate support in ext4 (score: 1)
Author: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 7 May 2007 13:58:25 -0700
I think the use of ext4_journal_extend() (as Amit has proposed) will help here, but it is not sufficient. Because under some circumstances, a journal_extend() failure could mean that we fail to alloc
/archives/xfs/2007-05/msg00085.html (13,683 bytes)

6. Re: [PATCH 4/5] ext4: fallocate support in ext4 (score: 1)
Author: Andreas Dilger <adilger@xxxxxxxxxxxxx>
Date: Mon, 7 May 2007 15:21:04 -0700
Actually, this is a non-issue. The reason that it is handled for extent-only is that this is the only way to allocate space in the filesystem without doing the explicit zeroing. For other filesystems
/archives/xfs/2007-05/msg00086.html (12,433 bytes)

7. Re: [PATCH 4/5] ext4: fallocate support in ext4 (score: 1)
Author: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 7 May 2007 15:38:56 -0700
hrm, spose so. It can be a bit suboptimal from the layout POV. The reservations code will largely save us here, but kernel support might make it a bit better. Totally blowing pagecache could be a pro
/archives/xfs/2007-05/msg00087.html (12,306 bytes)

8. Re: [PATCH 4/5] ext4: fallocate support in ext4 (score: 1)
Author: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 7 May 2007 16:31:35 -0700
No! Reservations code is *critical* here. Without reservations, we get disastrously-bad layout if two processes were running a large fallocate() at the same time. (This is an SMP-only problem, btw: o
/archives/xfs/2007-05/msg00088.html (14,415 bytes)

9. Re: [PATCH 4/5] ext4: fallocate support in ext4 (score: 1)
Author: Theodore Tso <tytso@xxxxxxx>
Date: Mon, 7 May 2007 19:36:22 -0400
There is a bit in the extent structure which indicates that the extent has not been initialized. When reading from a block where the extent is marked as unitialized, ext4 returns zero's, to avoid ret
/archives/xfs/2007-05/msg00089.html (14,165 bytes)

10. Re: [PATCH 4/5] ext4: fallocate support in ext4 (score: 1)
Author: Theodore Tso <tytso@xxxxxxx>
Date: Mon, 7 May 2007 19:14:42 -0400
Actually, the reservations code won't matter, since glibc will fall back to its current behavior, which is it will do the preallocation by explicitly writing zeros to the file. This wlil result in th
/archives/xfs/2007-05/msg00090.html (14,054 bytes)

11. Re: [PATCH 4/5] ext4: fallocate support in ext4 (score: 1)
Author: Jeff Garzik <jeff@xxxxxxxxxx>
Date: Mon, 07 May 2007 19:02:32 -0400
Andreas Dilger wrote: On May 07, 2007 13:58 -0700, Andrew Morton wrote: Final point: it's fairly disappointing that the present implementation is ext4-only, and extent-only. I do think we should be a
/archives/xfs/2007-05/msg00091.html (12,522 bytes)

12. Re: [PATCH 4/5] ext4: fallocate support in ext4 (score: 1)
Author: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 7 May 2007 17:15:41 -0700
yes, but my point is that the proposed behaviour is really quite bad. We will attempt to allocate the disk space and then we will return failure, having consumed all the disk space and having partial
/archives/xfs/2007-05/msg00092.html (13,704 bytes)

13. Re: [PATCH 4/5] ext4: fallocate support in ext4 (score: 1)
Author: Mingming Cao <cmm@xxxxxxxxxx>
Date: Mon, 07 May 2007 17:00:24 -0700
I agree. There is already a loop in Amit's current's patch to call ext4_ext_get_blocks() thoug. Question is how much credit should ext4 to ask for in each journal_start()? .... I think the calculatio
/archives/xfs/2007-05/msg00093.html (17,922 bytes)

14. Re: [PATCH 4/5] ext4: fallocate support in ext4 (score: 1)
Author: Mingming Cao <cmm@xxxxxxxxxx>
Date: Mon, 07 May 2007 17:30:29 -0700
In this case, since the number of blocks to preallocate (eg. N=10GB) is clear, we could improve the current reservation code, to allow callers explicitly ask for a new window that have the minimum N
/archives/xfs/2007-05/msg00094.html (16,259 bytes)

15. Re: [PATCH 4/5] ext4: fallocate support in ext4 (score: 1)
Author: Mingming Cao <cmm@xxxxxxxxxx>
Date: Mon, 07 May 2007 17:41:39 -0700
I agree your point, that's why I mention it only helped the fragmentation issue but not the ENOSPC case. Not totally useless I think. If only half of the space is preallocated because run out of spac
/archives/xfs/2007-05/msg00095.html (14,175 bytes)

16. Re: [PATCH 4/5] ext4: fallocate support in ext4 (score: 1)
Author: Andreas Dilger <adilger@xxxxxxxxxxxxx>
Date: Mon, 7 May 2007 18:07:36 -0700
In ext4 (as in XFS) there is a flag stored in the extent that tells if the extent is initialized or not. Reads from uninitialized extents will return zero-filled data, and writes that don't span the
/archives/xfs/2007-05/msg00097.html (13,193 bytes)

17. Re: [PATCH 4/5] ext4: fallocate support in ext4 (score: 1)
Author: Jeff Garzik <jeff@xxxxxxxxxx>
Date: Mon, 07 May 2007 21:25:54 -0400
Andreas Dilger wrote: My comment was just that the extent doesn't have to be explicitly zero filled on the disk, by virtue of the fact that the uninitialized flag will cause reads to return zero. Agr
/archives/xfs/2007-05/msg00098.html (11,662 bytes)

18. Re: [PATCH 4/5] ext4: fallocate support in ext4 (score: 1)
Author: Theodore Tso <tytso@xxxxxxx>
Date: Mon, 7 May 2007 21:43:37 -0400
Checking against the fs free blocks is a good idea, since it will prevent the obvious error case where someone tries to preallocate 10GB when there is only 2GB left. But it won't help if there are mu
/archives/xfs/2007-05/msg00099.html (13,164 bytes)

19. Re: [PATCH 4/5] ext4: fallocate support in ext4 (score: 1)
Author: "Amit K. Arora" <aarora@xxxxxxxxxxxxxxxxxx>
Date: Tue, 8 May 2007 16:22:47 +0530
You are right. But, we still need to "standardize" (and limit) the error codes which we should return from kernel when we want to fall back on the library implementation. The posix_fallocate() librar
/archives/xfs/2007-05/msg00107.html (13,814 bytes)

20. Re: [PATCH 4/5] ext4: fallocate support in ext4 (score: 1)
Author: Dave Kleikamp <shaggy@xxxxxxxxxxxxxxxxxx>
Date: Tue, 08 May 2007 09:47:54 -0500
If you want my opinion, -EOPNOTSUPP is better than -ENOTTY. Shaggy -- David Kleikamp IBM Linux Technology Center
/archives/xfs/2007-05/msg00110.html (13,410 bytes)


This search system is powered by Namazu