From: Hin-Tak Leung Subject: hfsplus journalling Re: hfsplus standalone package rfc and comments/questions Date: Mon, 15 Aug 2011 14:15:32 +0100 (BST) Message-ID: <1313414132.24771.YahooMailClassic@web29514.mail.ird.yahoo.com> References: <1313158396.40375.YahooMailClassic@web29504.mail.ird.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: till.kamppeter@gmail.com, naota@elisp.net To: linux-fsdevel@vger.kernel.org Return-path: Received: from nm19-vm0.bullet.mail.ird.yahoo.com ([77.238.189.92]:28178 "HELO nm19-vm0.bullet.mail.ird.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752333Ab1HONPe convert rfc822-to-8bit (ORCPT ); Mon, 15 Aug 2011 09:15:34 -0400 In-Reply-To: <1313158396.40375.YahooMailClassic@web29504.mail.ird.yahoo.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Slight re-org and update, see below. --- On Fri, 12/8/11, Hin-Tak Leung wrote: > Dear all, >=20 > I have finally got round to check Naohiro's hfsplus > journalling work > (git://github.com/naota/hfsplus.git). The result, in a > nutshell, is a tar ball: >=20 > http://htl10.users.sourceforge.net/patchsets/hfsplus_3.0_rfc/hfsplus_= standalone.tar.gz >=20 The tarballs are now named with dates - renamed the old one 20110812 an= d the new one hfsplus_standalone_20110815.tar.gz . Found mistakes in Na= ohiro's work & more details below. > which you can do=20 > =A0 =A0 make -C > /lib/modules//build/ M=3D`pwd` > against your system's approx 3.0 bits to build a > journal-enabled hfsplus kernel module to replace the one you > had. *CAVEATE BELOW*. The 22 patches is in a sub-dir inside > the tar-ball, as well as in http://htl10.users.sourceforge.net/patchs= ets/hfsplus_3.0_rfc/ >=20 > #1, #2 was just Naohiro's work as he did it (and as on his > github area) rebased slightly from 3.0rcX to 3.0 proper. I > found that it did not build with journalling enabled, > actually, so, patch #3-#22 are what I added on top. #14, > #20, #22 are modifications/READMEs to make the tarball built > out-of-tree (and not needed for other purpose), #17 is a a > new fix for a small formatting issue. The rest (16 of them) > are adjustments for about 8 API changes between 2.6.15 and > 2.6.40/3.0.x . >=20 > - I am not sure my buffer_head related patches (#4, #18. > #21) are correct. I think #4 is, but #18 and #21 are > probably wrong and/or need to do something else. > Suggestions? (possibly from Christoph Hellwig). Added patch #23 - the range check bug fix patch from Naohiro a while ag= o; patch #24 corrects Naohiro's work in #2, and #25 improves the area a= round which #24 modifies.=20 In a nutshell, patch #2 from Naohiro + patch #24 + two other stylistic/= indentation patches in 'patches-not-applied' gives the same git numstat= as the original Netgear patch against 2.6.15, except for other white s= pace changes. i.e. Naohiro's work misses a couple of chunks, and added a couple of st= ylistic changes (and did not document them) and changed plenty of white= spaces. Now that we get the work sort of reviewed and checked in a basic sense,= we need a strategy for testing, etc. I am thinking of formatting a sma= ll thumb drive as hfsplus with journals and try to unpack and build a n= ew kernel on it - that should be stressful enough.=20 -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html