Re: [PATCH] 2.2 fixes for the loop device

Alexander Kjeldaas (astor@fast.no)
Tue, 6 Jul 1999 11:49:41 +0200


On Tue, Jul 06, 1999 at 01:25:07AM +0200, Andi Kleen wrote:
>
> This patch fixes a few minor problems in the 2.2 loopback block device:
>
> - Proper version of the XOR zero pass word fix.
> - Give EINVAL early for file systems without bmap, like NFS, instead of
> silently zeroing data (2.3 patch with full NFS support will come later)
> - Document a major design bug in the IV passing to transfer functions,
> it basically makes it useless for NFS and anything but full devices.
> Suggestions on the best way to fix it in a backwards compatible manner
> would be welcome.
>
>

I've had a lot of complaints about this from users using the
international kernel patch and who has been unlucky enough to move
their files. Since nobody is fixing the kernel in a backwards
compatible way, and this just bite too many people, there is now a
CONFIG_ option in the IKP that will pass the relative offset to the
transfer function. If will also use 512 byte blocks so you don't get
problems when moving the file onto a CD-ROM. It's a hack, it's not
backwards compatible, but it's better than nothing IMO.

astor

-- 
 Alexander Kjeldaas, Fast Search & Transfer, Trondheim, Norway

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/