Re: [RFC][Patch 1/1] Persistent preallocation in ext4

2006-12-13 Thread Amit K. Arora
On Tue, Dec 12, 2006 at 04:20:38PM -0800, Mingming Cao wrote: On Tue, 2006-12-12 at 11:53 +0530, Amit K. Arora wrote: + + if (!(EXT4_I(inode)-i_flags EXT4_EXTENTS_FL)) + return -ENOTTY; Supporting preallocation for extent based files seems fairly

Re: [RFC][Patch 1/1] Persistent preallocation in ext4

2006-12-13 Thread Dave Kleikamp
On Wed, 2006-12-13 at 15:31 +0530, Amit K. Arora wrote: On Tue, Dec 12, 2006 at 04:20:38PM -0800, Mingming Cao wrote: On Tue, 2006-12-12 at 11:53 +0530, Amit K. Arora wrote: Supporting preallocation for extent based files seems fairly straightforward. I agree we should look at this first.

Re: [RFC][Patch 1/1] Persistent preallocation in ext4

2006-12-12 Thread Mingming Cao
On Tue, 2006-12-12 at 11:53 +0530, Amit K. Arora wrote: Hi Mingming, Hi Amit, On Mon, Dec 11, 2006 at 05:28:15PM -0800, Mingming Cao wrote: On Wed, 2006-12-06 at 11:28 +0530, Amit K. Arora wrote: @@ -1142,13 +1155,22 @@ /* try to insert block into found extent and return */

Re: [RFC][Patch 1/1] Persistent preallocation in ext4

2006-12-11 Thread Amit K. Arora
Hi Mingming, On Mon, Dec 11, 2006 at 05:28:15PM -0800, Mingming Cao wrote: On Wed, 2006-12-06 at 11:28 +0530, Amit K. Arora wrote: @@ -1142,13 +1155,22 @@ /* try to insert block into found extent and return */ if (ex ext4_can_extents_be_merged(inode, ex, newext)) {