Re: [PATCH] fat: Editions to support fat_fallocate()

2008-01-13 Thread OGAWA Hirofumi
"Grant Likely" <[EMAIL PROTECTED]> writes: > On 12/23/07, OGAWA Hirofumi <[EMAIL PROTECTED]> wrote: >> "Grant Likely" <[EMAIL PROTECTED]> writes: >> > >> > However, digging further, when FALLOC_FL_KEEP_SIZE is set, I don't >> > think fat_cont_expand() has the behaviour that we want to implement. >

Re: [PATCH] fat: Editions to support fat_fallocate()

2007-12-23 Thread Grant Likely
On 12/23/07, OGAWA Hirofumi <[EMAIL PROTECTED]> wrote: > "Grant Likely" <[EMAIL PROTECTED]> writes: > > > > However, digging further, when FALLOC_FL_KEEP_SIZE is set, I don't > > think fat_cont_expand() has the behaviour that we want to implement. > > When that flag is set, I think we simply want t

Re: [PATCH] fat: Editions to support fat_fallocate()

2007-12-23 Thread OGAWA Hirofumi
"Grant Likely" <[EMAIL PROTECTED]> writes: >> +/* >> + * preallocate space for a file. This implements fat fallocate inode >> + * operation, which gets called from sys_fallocate system call. User >> + * space requests len bytes at offset. >> + */ >> +long fat_fallocate(struct inode *inode, int mod

[PATCH] fat: Editions to support fat_fallocate()

2007-12-22 Thread Steven Cavanagh
From: Steven Cavanagh <[EMAIL PROTECTED]> Added support for fallocate for a msdos fat driver. This allows preallocation of clusters to an inode before writes to reduce file fragmentation Signed-off-by: Steven.Cavanagh <[EMAIL PROTECTED]> --- fs/fat/file.c | 45

Re: [PATCH] fat: Editions to support fat_fallocate()

2007-12-22 Thread Grant Likely
Thanks Steve, comments below. On 12/22/07, Steven Cavanagh <[EMAIL PROTECTED]> wrote: > From: Steven Cavanagh <[EMAIL PROTECTED]> > > Added support for fallocate for a msdos fat driver. This allows > preallocation of clusters to an inode before writes to reduce > file fragmentation Not technicall

Re: [PATCH] fat: Editions to support fat_fallocate()

2007-12-14 Thread Grant Likely
Thanks Steve; I've cc'd LKML and Hirofumi in my reply. Cheers, g. On 12/14/07, Steven Cavanagh <[EMAIL PROTECTED]> wrote: > From: Steven Cavanagh <[EMAIL PROTECTED]> > > Added support for fallocate for a msdos fat driver. This allows > preallocation of clusters to an inode before writes to reduce

[PATCH] fat: Editions to support fat_fallocate()

2007-12-11 Thread Steven Cavanagh
From: Steven Cavanagh <[EMAIL PROTECTED]> Added support for fallocate for a msdos fat driver. This allows preallocation of clusters to an inode before writes to reduce file fragmentation Signed-off-by: Steven.Cavanagh <[EMAIL PROTECTED]> --- fs/fat/cache.c |9 ++ fs/fat/file.c