[PATCH 2/2] Remove do_sync_file_range()

2007-03-21 Thread Mark Fasheh
Remove do_sync_file_range() and convert callers to just use do_sync_mapping_range(). Signed-off-by: Mark Fasheh <[EMAIL PROTECTED]> --- drivers/md/bitmap.c |8 fs/sync.c |2 +- include/linux/fs.h |5 - mm/filemap.c|8 4 files changed, 9 i

[PATCH 1/2] Turn do_sync_file_range() into do_sync_mapping_range()

2007-03-21 Thread Mark Fasheh
do_sync_file_range() accepts a file * from which it takes an address_space to sync. Abstract out the bulk of the function into do_sync_mapping_range() which takes the address_space directly. This way callers who want to sync an address_space directly can take advantage of the functionality provided

Re: [RFC][PATCH] sys_fallocate() system call

2007-03-21 Thread Chris Wedgwood
I hate to comment at this late stage, especially on something that I think is really a great idea (I did similar more complex, sys_blkalloc with even more arguments time ago --- I'm glad given how complex this thread has become I didn't post them now). In the past there wasn't that much incentive

Re: BUG: Files corrupt after moving LVM volume to USB disk

2007-03-21 Thread Lennart Sorensen
On Tue, Mar 20, 2007 at 12:34:08PM +0200, Marti Raudsepp wrote: > Second repost of "BUG: Killing and reviving files with USB disks", this time > also destined to linux-fsdevel. > > This is a reproducible demonstration of the problem initially reported in my > first e-mail, titled "PROBLEM: 'bio to

Re: BUG: Files corrupt after moving LVM volume to USB disk

2007-03-21 Thread Marti Raudsepp
On 3/21/07, Lennart Sorensen <[EMAIL PROTECTED]> wrote: Not that I really have a clue, but some questions anyhow: Thanks for your response; I will answer the remaining questions after I've freed up some space on the USB disk and done some additional tests. Possibly later today, or maybe tomorrow

Re: [PATCH] Turn do_sync_file_range() into do_sync_mapping_range()

2007-03-21 Thread Mark Fasheh
On Wed, Mar 21, 2007 at 02:44:26PM +, Christoph Hellwig wrote: > On Tue, Mar 20, 2007 at 02:46:26PM -0700, Mark Fasheh wrote: > > do_sync_file_range() accepts a file * from which it takes an address_space > > to sync. Abstract out the bulk of the function into do_sync_mapping_range() > > which

Re: Direct VFS/SB Access and Private Submounting

2007-03-21 Thread Christopher Allen Wing
Hello, not sure if someone has written you back about this already, but what you are trying to do (look 'underneath' a mount point) can be done easily without kernel modifications. You can bind mount an existing filesystem to a new location, and examine its contents without following existin

Re: [PATCH] Turn do_sync_file_range() into do_sync_mapping_range()

2007-03-21 Thread Christoph Hellwig
On Tue, Mar 20, 2007 at 02:46:26PM -0700, Mark Fasheh wrote: > do_sync_file_range() accepts a file * from which it takes an address_space > to sync. Abstract out the bulk of the function into do_sync_mapping_range() > which takes the address_space directly. This way callers who want to sync an > ad

Re: [RFC][PATCH] sys_fallocate() system call

2007-03-21 Thread Amit K. Arora
On Sat, Mar 17, 2007 at 05:10:37AM -0600, Matthew Wilcox wrote: > How about: > > asmlinkage long sys_fallocate(int fd, int mode, u32 off_low, u32 off_high, > u32 len_low, u32 len_high); > > That way we all suffer equally ... As suggested by you and Russel, I have ma