Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756068AbaGaDOQ (ORCPT ); Wed, 30 Jul 2014 23:14:16 -0400 Received: from mail-qa0-f53.google.com ([209.85.216.53]:33993 "EHLO mail-qa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754477AbaGaDOP (ORCPT ); Wed, 30 Jul 2014 23:14:15 -0400 Message-ID: <53D9B482.8070306@gmail.com> Date: Wed, 30 Jul 2014 23:14:10 -0400 From: Austin S Hemmelgarn User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 MIME-Version: 1.0 To: Nick Krause CC: "linux-kernel@vger.kernel.org" Subject: Re: Work Queue for btrfs compression writes References: In-Reply-To: X-Enigmail-Version: 1.6 OpenPGP: id=85D2EC0F Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms070701070708020003070408" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a cryptographically signed message in MIME format. --------------ms070701070708020003070408 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 07/30/2014 12:54 AM, Nick Krause wrote: > On Wed, Jul 30, 2014 at 12:37 AM, Gareth Pye wr= ote: >> You've been replied to politely, now listen and do or shut up. >> >> >> On Wed, Jul 30, 2014 at 1:54 PM, Nick Krause wro= te: >>> >>> 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 of threads using work queues like XFS >>> or reads and keeping the page cache after reading compressed blocks a= s >>> these seem to be a great way to improve >>> on compression performance mostly with large partitions of compresse= d >>> data. I am not asking you to write the code >>> for me but as I am new a little guidance and help would be greatly >>> appreciated as this seems like too much work for just a newbie. >>> Thanks A lot, >>> Nick >>> -- >>> To unsubscribe from this list: send the line "unsubscribe linux-btrfs= " in >>> the body of a message to majordomo@vger.kernel.org >>> More majordomo info at http://vger.kernel.org/majordomo-info.html >> >> >> >> >> -- >> Gareth Pye >> Level 2 Judge, Melbourne, Australia >> Australian MTG Forum: mtgau.com >> gareth@cerberos.id.au - www.rockpaperdynamite.wordpress.com >> "Dear God, I would like to file a bug report" >=20 > Gareth > I am asking for advice on not writing the code but can someone please > test this for me as I don't have many hard drives lying around. In addi= tion > I am new to btrfs , so I would like to known if this is a good idea or = should > I just drop it? > Nick > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel"= in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ >=20 I would look into using usermode linux (linux built with ARCH=3Dum) for a= t least the initial debugging, it is marginally more efficient than virtualization, doesn't need root privileges, and allows you to run the kernel under GDB without needing separate hardware with a serial console or PS/2 keyboard. --------------ms070701070708020003070408 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGuDCC BrQwggScoAMCAQICAw8BRDANBgkqhkiG9w0BAQ0FADB5MRAwDgYDVQQKEwdSb290IENBMR4w HAYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNBIENlcnQgU2lnbmlu ZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRAY2FjZXJ0Lm9yZzAeFw0xNDA1 MTIxNDEwMzJaFw0xNDExMDgxNDEwMzJaMGMxGDAWBgNVBAMTD0NBY2VydCBXb1QgVXNlcjEj MCEGCSqGSIb3DQEJARYUYWhmZXJyb2luN0BnbWFpbC5jb20xIjAgBgkqhkiG9w0BCQEWE2Fo ZW1tZWxnQG9oaW9ndC5jb20wggIiMA0GCSqGS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3tukpXkhQaZsP7a9 2i3+/zgzFtI2+MPklPJenri+ZRqBOrhEm+UaeUP0dNm2bHDO8d2iHFyr7gm47IyFMNsETj8x 0IUFnmZ0oEKmyTJrtmdBrh8B10wOqycEeP0fti8YLw9zID4Ech6gPNKRDur/jmS1UZHSbWJ+ G0nm8q/57LhMSpdGYAVoMJ31qPROoYbBFnhasPv2Hy8mbEMOQwo5BJr+dbvgclbDH3GzIxbH ZYesAJ9mmtLrLXhPYLPvHvLLydUq8SoyR0mLIif+4DAeqqwwKZeg9fr3VHNHAAAAAAAA --------------ms070701070708020003070408-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/