Re: RFC: direct MTD support for SquashFS

2010-03-24 Thread Peter Korsgaard
Phillip == Phillip Lougher phil...@lougher.demon.co.uk writes: Hi, Phillip BTW as a comparison, I have added MTD support to Squashfs Phillip twice in the past, *with* bad block support. The latest has a Phillip diff patch of ~500 lines, with far less complexity and code Phillip changes

Re: RFC: direct MTD support for SquashFS

2010-03-23 Thread Phillip Lougher
Ferenc Wagner wrote: Now with the patch series, sorry. Ferenc Wagner wf...@niif.hu writes: I've got one more patch, which I forgot to export, to pull out the common logic from the backend init functions back into squashfs_read_data(). With the bdev backend, that entails reading the first

Re: RFC: direct MTD support for SquashFS

2010-03-19 Thread Phillip Lougher
On Fri, Mar 19, 2010 at 1:05 AM, Ferenc Wagner wf...@niif.hu wrote: Ferenc Wagner wf...@niif.hu writes: Phillip Lougher phillip.loug...@gmail.com writes: On Thu, Mar 18, 2010 at 4:38 PM, Ferenc Wagner wf...@niif.hu wrote: +static int fill_bdev_super(struct super_block *sb, void *data, int

Re: RFC: direct MTD support for SquashFS

2010-03-18 Thread Ferenc Wagner
Peter Korsgaard jac...@sunsite.dk writes: Ferenc == Ferenc Wagner wf...@niif.hu writes: Ferenc In embedded systems, SquashFS over MTD would be a considerable Ferenc win, as that would permit configuring without CONFIG_BLOCK. Ferenc Please find attached a naive patch against 2.6.33 for

Re: RFC: direct MTD support for SquashFS

2010-03-18 Thread Phillip Lougher
On Thu, Mar 18, 2010 at 4:38 PM, Ferenc Wagner wf...@niif.hu wrote: I could only compare apples to oranges before porting the patch to the LZMA variant.  So I refrain from that for a couple of days yet.  But meanwhile I started adding a pluggable backend framework to SquashFS, and would much

Re: RFC: direct MTD support for SquashFS

2010-03-18 Thread Ferenc Wagner
Phillip Lougher phillip.loug...@gmail.com writes: On Thu, Mar 18, 2010 at 4:38 PM, Ferenc Wagner wf...@niif.hu wrote: I could only compare apples to oranges before porting the patch to the LZMA variant.  So I refrain from that for a couple of days yet.  But meanwhile I started adding a

Re: RFC: direct MTD support for SquashFS

2010-03-18 Thread Ferenc Wagner
Ferenc Wagner wf...@niif.hu writes: Phillip Lougher phillip.loug...@gmail.com writes: On Thu, Mar 18, 2010 at 4:38 PM, Ferenc Wagner wf...@niif.hu wrote: +static int fill_bdev_super(struct super_block *sb, void *data, int silent) +{ +struct squashfs_sb_info *msblk; +struct

Re: RFC: direct MTD support for SquashFS

2010-03-16 Thread Vitaly Wool
On Tue, Mar 16, 2010 at 5:26 PM, Peter Korsgaard jac...@sunsite.dk wrote: Ferenc == Ferenc Wagner wf...@niif.hu writes:  Ferenc For now, 2.6.34 gained pluggable decompressors, so this patch  Ferenc does not apply anymore, though the main idea holds.  My  Ferenc questions: is the community