Re: [RFC] Add a new file op for fsync to give fs's more control

2011-04-17 Thread liubo
On 04/16/2011 03:32 AM, Josef Bacik wrote: > On 04/15/2011 03:24 PM, Christoph Hellwig wrote: >> Sorry, but this is too ugly to live. If the reason for this really is >> good enough we'll just need to push the filemap_write_and_wait_range >> and i_mutex locking into every ->fsync instance. >> > >

Re: [PATCH V8 4/8] mm/fs: add hooks to support cleancache

2011-04-17 Thread Minchan Kim
On Sat, Apr 16, 2011 at 3:53 AM, Dan Magenheimer wrote: >> From: OGAWA Hirofumi [mailto:hirof...@mail.parknet.co.jp] >> >> Andrew Morton writes: >> >> >> > Before I suggested a thing about cleancache_flush_page, >> >> > cleancache_flush_inode. >> >> > >> >> > what's the meaning of flush's semanti

Re: cloning single-device btrfs file system onto multi-device one

2011-04-17 Thread Hubert Kario
On Monday 21 of March 2011 17:24:50 Stephane Chazelas wrote: > Hiya, > > I'm trying to move a btrfs FS that's on a hardware raid 5 (6TB > large, 4 of which are in use) to another machine with 3 3TB HDs > and preserve all the subvolumes/snapshots. > > Is there a way to do that without using a soft