Re: [PATCH 2/6][TAKE7] fallocate() implementation in i386, x86_64 and powerpc

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Amit K. Arora
Date: Friday, July 13, 2007 - 7:18 am

On Fri, Jul 13, 2007 at 02:21:19PM +0100, Christoph Hellwig wrote:

Ok. I will remove this entire comment.
 

Ok. Since we have only one flag (FALLOC_FL_KEEP_SIZE) and we do not want
to declare the default mode (FALLOC_ALLOCATE), we can _just_ have this
flag and remove the other mode too (FALLOC_RESV_SPACE).
Is this what you are suggesting ?


Should we need a header file just to declare one flag - i.e.
FALLOC_FL_KEEP_SIZE (since now there is no point of declaring the two
modes) ? If "linux/fs.h" is not a good place, will "asm-generic/fcntl.h"
be a sane place for this flag ?

Thanks!
--
Regards,
Amit Arora
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/6][TAKE7] fallocate system call, Amit K. Arora, (Fri Jul 13, 5:38 am)
[PATCH 1/6][TAKE7] manpage for fallocate, Amit K. Arora, (Fri Jul 13, 5:46 am)
[PATCH 4/6][TAKE7] ext4: fallocate support in ext4, Amit K. Arora, (Fri Jul 13, 5:50 am)
Re: [PATCH 2/6][TAKE7] fallocate() implementation in i386, ..., Christoph Hellwig, (Fri Jul 13, 6:21 am)
Re: [PATCH 3/6][TAKE7] revalidate write permissions for fa ..., Christoph Hellwig, (Fri Jul 13, 6:21 am)
Re: [PATCH 1/6][TAKE7] manpage for fallocate, David Chinner, (Fri Jul 13, 7:06 am)
Re: [PATCH 2/6][TAKE7] fallocate() implementation in i386, ..., Amit K. Arora, (Fri Jul 13, 7:18 am)
Re: [PATCH 1/6][TAKE7] manpage for fallocate, Amit K. Arora, (Fri Jul 13, 7:27 am)
Re: [PATCH 2/6][TAKE7] fallocate() implementation in i386, ..., Christoph Hellwig, (Fri Jul 13, 7:46 am)
Re: [PATCH 1/6][TAKE7] manpage for fallocate, Michael Kerrisk, (Sat Jul 14, 1:23 am)
Re: [PATCH 1/6][TAKE7] manpage for fallocate, Amit K. Arora, (Sun Jul 15, 10:32 pm)
fallocate() man page, Michael Kerrisk, (Sun Jul 22, 11:09 pm)
Re: fallocate() man page, Amit K. Arora, (Mon Jul 23, 6:10 am)
Re: fallocate() man page, David Chinner, (Tue Jul 24, 12:06 am)
Re: fallocate() man page, Michael Kerrisk, (Sun Jul 29, 11:21 pm)
Re: fallocate() man page, Michael Kerrisk, (Mon Jul 30, 12:43 pm)
fallocate() man page - darft 2, Michael Kerrisk, (Mon Jul 30, 12:44 pm)
Re: fallocate() man page, Amit K. Arora, (Tue Jul 31, 6:56 am)
Re: fallocate() man page - darft 2, Amit K. Arora, (Thu Aug 2, 10:36 am)
Re: fallocate() man page - darft 2, Michael Kerrisk, (Fri Aug 3, 4:59 am)
Re: fallocate() man page - darft 2, Amit K. Arora, (Sun Aug 5, 11:10 pm)