[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mutex interface for kernel 2.4.6



Hi, David,

I am not sure which mutex interfaces is available for underlying mutex support on Kernel 2.4.6 (how about POSIX pthread mutex interfaces), would you please give me some tips? Thanks!

Best regards,
Susan 

-----Original Message-----
From: David Woodhouse [mailto:dwmw2@xxxxxxx.org]
Sent: Sunday, August 19, 2001 7:11 PM
To: Willy Tarreau
Cc: jffs-dev@xxxxxxx.com; Simon Evans
Subject: Re: [PATCH] Block Devices support for JFFS2


On Sun, 19 Aug 2001, Willy Tarreau wrote:

> I have slightly modified JFFS2 to support standard block devices. Now
> you can mount a CompactFlash, a hard disk partition, a floppy, or even
> a loop device containing a JFFS2 file-system. This allowed me to
> replace EXT2 on my firewall which runs on a 16 MB CompactFlash.

 <...>
 
> The following patch applies cleanly to kernel 2.4.8-ac7.
> You can also get it from: http://wtarreau.free.fr/linux-patches/

Thanks. 

Some of it seems to be duplicating the 'blkmtd' driver which 
Simon wrote, which provides a similar functionality to your blockdev.c - 
an MTD device backed by block device storage. I'm happier with having that 
functionality provided outside the JFFS2 code.

It is quite nice for JFFS2 to be mounted directly on a block device
without mucking about, though. Perhaps we could make the JFFS2 code set up
the blkmtd driver automatically if necessary, while still keeping the guts
of the MTD device emulation stuff in the separate driver?

The 'format' option is useful even on normal flash devices. I like that -
we should make it unconditionally available. The 'deflate' option is also
nice. I'll merge those two on Monday.

Where did the 'parse_options' code come from? If it's from another Linux 
filesystem I'm going to need to rewrite it - JFFS2 is dual licensed, and 
that unfortunately means I can't import GPL'd code.

-- 
dwmw2



To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com


To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com