Re: loopback failure with 2.2.x and NFS (BUG?)

From: ferret@phonewave.net
Date: Thu May 18 2000 - 11:16:37 EST


Uuuugh. :> Thanks for explaining.

On Thu, 18 May 2000, Trond Myklebust wrote:

> >>>>> " " == ferret <ferret@phonewave.net> writes:
>
> > -----BEGIN PGP SIGNED MESSAGE----- Ah, you mean a regular file
> > on an NFS mount cannot be treated as a block device by the
> > 2.2.x loopback device?
>
> If you like. The 2.2.x loopback device uses the 'bmap()' inode
> operation to map the file into 'blocks'.
> If I understand correctly, this is a function that maps to the
> physical location of the files on the underlying disk. It use in the
> loopback device was apparently motivated by the needs of encryption
> modules.
>
> Under 2.3.x the loop device uses the generic file read/write routines,
> instead, and leaves it up to the encryption modules to call bmap() if
> needed. Those modules still won't work under NFS in 2.3.x.
>
> Cheers,
> Trond

-
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/



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:15 EST