ssd optimised mode

2009-02-20 Thread srimugunthan dhandapani
hi all, I would like to know what are the ssd specific optimisations in btrfs . I read from the archives that mount -o ssd option, which clusters file data writes together regardless of the directory the files belong to. There are a number of other performance tweaks for SSD, aimed at clustering

Re: [PATCH] Btrfs-progs: update btrfs-debug-tree

2009-02-20 Thread Chris Mason
On Thu, 2009-02-19 at 19:39 -0500, Jeff Mahoney wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shen Feng wrote: output objectid in btrfs_disk_key with human readable strings. Other updates are included for more readable output. This gets messy fast. I'd like to see some sort of

Re: ssd optimised mode

2009-02-20 Thread Josef Bacik
On Fri, Feb 20, 2009 at 04:56:55PM +0530, srimugunthan dhandapani wrote: hi all, I would like to know what are the ssd specific optimisations in btrfs . I read from the archives that mount -o ssd option, which clusters file data writes together regardless of the directory the files belong

Re: [PATCH] Btrfs-progs: update btrfs-debug-tree

2009-02-20 Thread Jeff Mahoney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Mason wrote: On Thu, 2009-02-19 at 19:39 -0500, Jeff Mahoney wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shen Feng wrote: output objectid in btrfs_disk_key with human readable strings. Other updates are included for more readable

Re: ssd optimised mode

2009-02-20 Thread Chris Mason
On Fri, 2009-02-20 at 11:01 -0500, Josef Bacik wrote: On Fri, Feb 20, 2009 at 04:56:55PM +0530, srimugunthan dhandapani wrote: hi all, I would like to know what are the ssd specific optimisations in btrfs . I read from the archives that mount -o ssd option, which clusters file data

Re: [PATCH] Backport for 2.6.27 and 2.6.26 on the experimental branch

2009-02-20 Thread jim owens
lee, A couple of thoughts about your .26 lockup: - I assume you are on the same hardware with 27. - Are you using a module or builtin btrfs (I build it in). - It looks like you are using vmware... when I'm doing kernel stuff I want to be on the iron, not trusting virtual machine code.

[PATCH] Extensible printk format strings

2009-02-20 Thread Jeff Mahoney
BTW, this is what I had in mind: This patch adds the ability to add arbitrary types to vsprintf rather than adding every type to pointer(). Future users include reiserfs and btrfs, where it's much more conventient to print messages with common data structures with a simple printk rather

[PATCH 1/3] Extensible printk (and friends)

2009-02-20 Thread Jeff Mahoney
This patch adds the ability to add arbitrary types to vsprintf rather than adding every type to pointer(). Future users include reiserfs and btrfs, where it's much more convenient to print messages with common data structures with a simple printk rather than a series of them. It makes the

[PATCH 2/3] printk: Convert existing pointer() extensions to operations

2009-02-20 Thread Jeff Mahoney
This patch converts the existing pointer extensions from a switch statement to an array of printf_operations. The result is a very small pointer(), which only tests for null, tries to expand typed pointers, and eventually falls back to numeric printing. Signed-off-by: Jeff Mahoney