Re: [PATCH] ext4: Do not normalize request from fallocate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



One of the things I've been thinking we need to add for some time is a
new field to the allocation_request structure which gives a hint to
mballoc about how much space we will eventually need (i.e., if we are
doing a 1GB fallocate, or if we know that we have 256megs worth of
dirty pages that we intend to write out in ext4_da_writepages, we
should tell mballoc that); this is different from how much space we
can actually use (i.e., 32,767 blocks given that's the maximum size we
can add in an uninitialized extents).  If mballoc knew this, it could
reserve that much space as a per-file preallocation.

That might be the easist way to solve this particular issue.

     	      	  	     	- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux