Re: Work Queue for btrfs compression writes

2014-08-04 Thread Chris Mason
On 07/29/2014 11:54 PM, Nick Krause wrote: Hey Guys , I am new to reading and writing kernel code.I got interested in writing code for btrfs as it seems to need more work then other file systems and this seems other then drivers, a good use of time on my part. I interested in helping

Re: Work Queue for btrfs compression writes

2014-07-31 Thread Theodore Ts'o
On Wed, Jul 30, 2014 at 10:36:57AM -0400, Peter Hurley wrote: Where is that git tree? I've been planning to set up a unit test and regression suite for tty/serial, and wouldn't mind cribbing the infrastructure from someone's existing work.

Re: Work Queue for btrfs compression writes

2014-07-30 Thread Hugo Mills
On Tue, Jul 29, 2014 at 11:54:20PM -0400, Nick Krause wrote: Hey Guys , I am new to reading and writing kernel code.I got interested in writing code for btrfs as it seems to need more work then other file systems and this seems other then drivers, a good use of time on my part. I

Re: Work Queue for btrfs compression writes

2014-07-30 Thread Theodore Ts'o
On Wed, Jul 30, 2014 at 10:38:21AM +0100, Hugo Mills wrote: qemu/kvm is good for this, because it has a mode that bypasses the BIOS and bootloader emulation, and just directly runs a kernel from a file on the host machine. This is fast. You can pass large sparse files to the VM to act as

Re: Work Queue for btrfs compression writes

2014-07-30 Thread Peter Hurley
On 07/30/2014 10:13 AM, Theodore Ts'o wrote: On Wed, Jul 30, 2014 at 10:38:21AM +0100, Hugo Mills wrote: qemu/kvm is good for this, because it has a mode that bypasses the BIOS and bootloader emulation, and just directly runs a kernel from a file on the host machine. This is fast. You can

Re: Work Queue for btrfs compression writes

2014-07-30 Thread ashford
On Tue, Jul 29, 2014 at 11:54:20PM -0400, Nick Krause wrote: Hey Guys , I interested in helping improving the compression of btrfs by using a set of threads using work queues like XFS or reads and keeping the page cache after reading compressed blocks as these seem to be a great way to

Re: Work Queue for btrfs compression writes

2014-07-30 Thread Nick Krause
On Wed, Jul 30, 2014 at 11:36 AM, ashf...@whisperpc.com wrote: On Tue, Jul 29, 2014 at 11:54:20PM -0400, Nick Krause wrote: Hey Guys , I interested in helping improving the compression of btrfs by using a set of threads using work queues like XFS or reads and keeping the page cache after

Re: Work Queue for btrfs compression writes

2014-07-30 Thread ashford
Nick, On Wed, Jul 30, 2014 at 11:36 AM, ashf...@whisperpc.com wrote: On Tue, Jul 29, 2014 at 11:54:20PM -0400, Nick Krause wrote: Hey Guys , I interested in helping improving the compression of btrfs by using a set of threads using work queues like XFS or reads and keeping the page cache

Re: Work Queue for btrfs compression writes

2014-07-30 Thread Nick Krause
On Wed, Jul 30, 2014 at 2:31 PM, ashf...@whisperpc.com wrote: Nick, On Wed, Jul 30, 2014 at 11:36 AM, ashf...@whisperpc.com wrote: On Tue, Jul 29, 2014 at 11:54:20PM -0400, Nick Krause wrote: Hey Guys , I interested in helping improving the compression of btrfs by using a set of threads

Work Queue for btrfs compression writes

2014-07-29 Thread Nick Krause
Hey Guys , I am new to reading and writing kernel code.I got interested in writing code for btrfs as it seems to need more work then other file systems and this seems other then drivers, a good use of time on my part. I interested in helping improving the compression of btrfs by using a set