Re: [PATCH v4] btrfs-progs: fix page align issue for lzo compress in restore

2015-01-02 Thread David Sterba
On Thu, Nov 27, 2014 at 11:02:38AM +0800, Gui Hecheng wrote: > I note that this patch is not yet in the latest integration, how's the > fix going? The patch was still buggy, a fix will land in 3.18.1 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message

Re: [PATCH v4] btrfs-progs: fix page align issue for lzo compress in restore

2014-11-26 Thread Gui Hecheng
On Tue, 2014-10-14 at 11:32 +0200, David Sterba wrote: > On Tue, Oct 14, 2014 at 10:06:16AM +0200, Marc Dietrich wrote: > > This hasn't landed in an btrfs-progs branch I found. Any update? > > I had it tagged for review and found something that needs fixing. The > PAGE_CACHE_SIZE is hardcoded to 4

Re: [PATCH v4] btrfs-progs: fix page align issue for lzo compress in restore

2014-10-14 Thread David Sterba
On Tue, Oct 14, 2014 at 10:06:16AM +0200, Marc Dietrich wrote: > This hasn't landed in an btrfs-progs branch I found. Any update? I had it tagged for review and found something that needs fixing. The PAGE_CACHE_SIZE is hardcoded to 4k, this will break on filesystems with larger sectors (eg. the po

Re: [PATCH v4] btrfs-progs: fix page align issue for lzo compress in restore

2014-10-14 Thread Marc Dietrich
This hasn't landed in an btrfs-progs branch I found. Any update? Marc Am Dienstag, 23. September 2014, 16:34:54 schrieb Gui Hecheng: > When runing restore under lzo compression, "bad compress length" > problems are encountered. > It is because there is a page align problem with the @decompress_lz

[PATCH v4] btrfs-progs: fix page align issue for lzo compress in restore

2014-09-23 Thread Gui Hecheng
When runing restore under lzo compression, "bad compress length" problems are encountered. It is because there is a page align problem with the @decompress_lzo, as follows: |--| ||-| |--|...|--| page ^page page

Re: [PATCH v4] btrfs-progs: fix page align issue for lzo compress in restore

2014-09-23 Thread Gui Hecheng
On Tue, 2014-09-23 at 10:25 +0800, Gui Hecheng wrote: > When runing restore under lzo compression, "bad compress length" > problems are encountered. > It is because there is a page align problem with the @decompress_lzo, > as follows: > |--| ||-| |--|...|--| >

[PATCH v4] btrfs-progs: fix page align issue for lzo compress in restore

2014-09-22 Thread Gui Hecheng
When runing restore under lzo compression, "bad compress length" problems are encountered. It is because there is a page align problem with the @decompress_lzo, as follows: |--| ||-| |--|...|--| page ^page page