Re: No one seems to be using AOP_WRITEPAGE_ACTIVATE?

2010-04-26 Thread KOSAKI Motohiro
Hi Ted I happened to be going through the source code for write_cache_pages(), and I came across a reference to AOP_WRITEPAGE_ACTIVATE. I was curious what the heck that was, so I did search for it, and found this in Documentation/filesystems/vfs.txt: If wbc-sync_mode is

[PATCH V2 01/12] Btrfs: Link block groups of different raid types in the same space_info

2010-04-26 Thread Yan, Zheng
The size of reserved space is stored in space_info. If block groups of different raid types are linked to separate space_info, changing allocation profile will corrupt reserved space accounting. Signed-off-by: Yan Zheng zheng@oracle.com --- diff -urp 2/fs/btrfs/ctree.h 3/fs/btrfs/ctree.h ---

[PATCH V2 02/12] Btrfs: Kill allocate_wait in space_info

2010-04-26 Thread Yan, Zheng
We already have fs_info-chunk_mutex to avoid concurrent chunk creation. Signed-off-by: Yan Zheng zheng@oracle.com --- diff -urp 2/fs/btrfs/ctree.h 3/fs/btrfs/ctree.h --- 2/fs/btrfs/ctree.h 2010-04-26 17:24:10.436081649 +0800 +++ 3/fs/btrfs/ctree.h 2010-04-26 17:24:10.441079491 +0800 @@

[PATCH V2 04/12] Btrfs: Kill init_btrfs_i()

2010-04-26 Thread Yan, Zheng
All code in init_btrfs_i can be moved into btrfs_alloc_inode() Signed-off-by: Yan Zheng zheng@oracle.com --- diff -urp 2/fs/btrfs/inode.c 3/fs/btrfs/inode.c --- 2/fs/btrfs/inode.c 2010-04-26 17:24:41.254078880 +0800 +++ 3/fs/btrfs/inode.c 2010-04-26 17:24:41.270103836 +0800 @@ -3595,40

[PATCH V2 08/12] Btrfs: Introduce global metadata reservation

2010-04-26 Thread Yan, Zheng
Reserve metadata space for extent tree, checksum tree and root tree Signed-off-by: Yan Zheng zheng@oracle.com --- diff -urp 2/fs/btrfs/ctree.h 3/fs/btrfs/ctree.h --- 2/fs/btrfs/ctree.h 2010-04-26 17:27:31.644829469 +0800 +++ 3/fs/btrfs/ctree.h 2010-04-26 17:27:31.648830941 +0800 @@ -682,21

[PATCH V2 07/12] Btrfs: Update metadata reservation for delayed allocation

2010-04-26 Thread Yan, Zheng
Introduce metadata reservation context for delayed allocation and update various related functions. This patch also introduces EXTENT_FIRST_DELALLOC control bit for set/clear_extent_bit. It tells set/clear_bit_hook whether they are processing the first extent_state with EXTENT_DELALLOC bit set.

[PATCH V2 09/12] Btrfs: Metadata reservation for orphan inodes

2010-04-26 Thread Yan, Zheng
reserve metadata space for handling orphan inodes Signed-off-by: Yan Zheng zheng@oracle.com --- diff -urp 2/fs/btrfs/btrfs_inode.h 3/fs/btrfs/btrfs_inode.h --- 2/fs/btrfs/btrfs_inode.h2010-04-26 17:27:52.113080051 +0800 +++ 3/fs/btrfs/btrfs_inode.h2010-04-26 17:27:52.118079430 +0800

[PATCH V2 10/12] Btrfs: Metadata ENOSPC handling for tree log

2010-04-26 Thread Yan, Zheng
Previous patches make the allocater return -ENOSPC if there is no unreserved free metadata space. This patch updates tree log code and various other places to propagate/handle the ENOSPC error. Signed-off-by: Yan Zheng zheng@oracle.com --- diff -urp 2/fs/btrfs/disk-io.c 3/fs/btrfs/disk-io.c

[PATCH V2 11/12] Btrfs: Pre-allocate space for data relocation

2010-04-26 Thread Yan, Zheng
Pre-allocate space for data relocation. This can detect ENOPSC condition caused by fragmentation of free space. Signed-off-by: Yan Zheng zheng@oracle.com --- diff -urp 2/fs/btrfs/ctree.h 3/fs/btrfs/ctree.h --- 2/fs/btrfs/ctree.h 2010-04-26 17:28:20.493839748 +0800 +++ 3/fs/btrfs/ctree.h

Re: NFS mount attempts hangs with btrfs on server side

2010-04-26 Thread Jan Engelhardt
On Wednesday 2010-04-21 12:37, Manio wrote: On 2010-04-21 12:29, Jan Engelhardt wrote: I'd rather have a real description rather than stuff like that. Since I am not on debian, old nfs-utils would not happen - rpcbind-0.1.6+git20080930 and nfs-kernel-server-1.1.3 should be very much recent

Re: No one seems to be using AOP_WRITEPAGE_ACTIVATE?

2010-04-26 Thread Theodore Tso
On Apr 26, 2010, at 6:18 AM, KOSAK AOP_WRITEPAGE_ACTIVATE was introduced for ramdisk and tmpfs thing (and later rd choosed to use another way). Then, It assume writepage refusing aren't happen on majority pages. IOW, the VM assume other many pages can writeout although the page can't. Then,

Re: list subvolumes with new btrfs command

2010-04-26 Thread C Anthony Risinger
I am using ubuntu-10.04-rc with kernel compiled from the almost lastest source , the btrfs-progs is latest too. You can modify line  fprintf(stderr, ERROR: can't perform the search\n); to  fprintf(stderr, ERROR: can't perform the search: %s\n, strerror(errno)); to see what happened on

Re: No one seems to be using AOP_WRITEPAGE_ACTIVATE?

2010-04-26 Thread Chris Mason
On Mon, Apr 26, 2010 at 10:50:45AM -0400, Theodore Tso wrote: On Apr 26, 2010, at 6:18 AM, KOSAK AOP_WRITEPAGE_ACTIVATE was introduced for ramdisk and tmpfs thing (and later rd choosed to use another way). Then, It assume writepage refusing aren't happen on majority pages. IOW, the VM

Re: list subvolumes with new btrfs command

2010-04-26 Thread Hubert Kario
On Monday 26 April 2010 19:23:21 C Anthony Risinger wrote: I am using ubuntu-10.04-rc with kernel compiled from the almost lastest source , the btrfs-progs is latest too. You can modify line fprintf(stderr, ERROR: can't perform the search\n); to fprintf(stderr, ERROR: can't

Re: list subvolumes with new btrfs command

2010-04-26 Thread C Anthony Risinger
On Mon, Apr 26, 2010 at 12:58 PM, Hubert Kario h...@qbs.com.pl wrote: On Monday 26 April 2010 19:23:21 C Anthony Risinger wrote: I am using ubuntu-10.04-rc with kernel compiled from the almost lastest source , the btrfs-progs is latest too. You can modify line  fprintf(stderr, ERROR:

Re: list subvolumes with new btrfs command

2010-04-26 Thread C Anthony Risinger
On Mon, Apr 26, 2010 at 2:10 PM, C Anthony Risinger anth...@extof.me wrote: On Mon, Apr 26, 2010 at 12:58 PM, Hubert Kario h...@qbs.com.pl wrote: On Monday 26 April 2010 19:23:21 C Anthony Risinger wrote: I am using ubuntu-10.04-rc with kernel compiled from the almost lastest source , the

Re: list subvolumes with new btrfs command

2010-04-26 Thread C Anthony Risinger
On Mon, Apr 26, 2010 at 3:51 PM, C Anthony Risinger anth...@extof.me wrote: On Mon, Apr 26, 2010 at 2:10 PM, C Anthony Risinger anth...@extof.me wrote: On Mon, Apr 26, 2010 at 12:58 PM, Hubert Kario h...@qbs.com.pl wrote: On Monday 26 April 2010 19:23:21 C Anthony Risinger wrote: I am using

[For review] [PATCH] Check all kmalloc(), etc, functions for success

2010-04-26 Thread Chris Samuel
Hi Chris, et. al, I was bored on the long flight from Melbourne to LA (and kept awake by crying babies) so I thought I'd dip my toe into kernel programming and thought I'd see if any results from kmalloc() were being used without being checked for success first. Turns out there were quite a few

physician mailing list

2010-04-26 Thread Paulson | Graham
To get additional details, samples and counts for our USA contact data please email me at this address successto...@gmx.com we have lots of different lists in many fields and this week is the time to buy with lowered list prices. Send email to to ensure no further communication after