Re: address space of a block device

2008-09-12 Thread Paulo da Silva
Peter Teoh escreveu: On Thu, Sep 11, 2008 at 8:48 PM, Paulo da Silva <[EMAIL PROTECTED]> wrote: ... Second concept is that this bd_inode is to create the object in the buffer cache to buffer the data for the physical device - this is where address space mapping comes in. To answer your que

Re: address space of a block device

2008-09-11 Thread Paulo da Silva
Peter Teoh escreveu: On Thu, Sep 11, 2008 at 8:48 PM, Paulo da Silva <[EMAIL PROTECTED]> wrote: ... Second concept is that this bd_inode is to create the object in the buffer cache to buffer the data for the physical device - this is where address space mapping comes in. To answer your que

Re: address space of a block device

2008-09-11 Thread Peter Teoh
On Thu, Sep 11, 2008 at 8:48 PM, Paulo da Silva <[EMAIL PROTECTED]> wrote: > Peter Teoh escreveu: >> >> I don't really understand the meaning of "will die". >> > > So don't I. > ... > >> so when bd_inode "will die", does it mean that the inode will become >> non-available? > > Well ... I thought th

Re: address space of a block device

2008-09-11 Thread Paulo da Silva
Peter Teoh escreveu: I don't really understand the meaning of "will die". So don't I. ... so when bd_inode "will die", does it mean that the inode will become non-available? Well ... I thought the element "bd_inode" will be removed from the device structure. But it is heavily used! "mappin

Re: address space of a block device

2008-09-09 Thread Paulo da Silva
Peter Teoh escreveu: your question is vague.u never explain what u are trying to do.purpose why u need block device? used as a what? and then purpose of address space (for your case)? Not so vague ... If you need to access the address space of a block device you use (so far

Re: address space of a block device

2008-09-08 Thread Paulo da Silva
Paulo da Silva escreveu: Sorry for the multiple post, but this was caused by a problem in my ISP server. Thanks. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [EMAIL PROTECTED] Please read the FAQ at http://kernelnewbies.org/FAQ

address space of a block device

2008-09-08 Thread Paulo da Silva
In kernel 2.6.25, bd_inode of struct block_device has the comment "/* will die */". How can I get the address space (mapping) of a block device without using bd_inode? Thanks -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [EMAIL PROTECTED] Please read the

address space of a block device

2008-09-08 Thread Paulo da Silva
In kernel 2.6.25, bd_inode of struct block_device has the comment "/* will die */". How can I get the address space (mapping) of a block device without using bd_inode? Thanks -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [EMAIL PROTECTED] Please read the

address space of a block device

2008-09-08 Thread Paulo da Silva
In kernel 2.6.25, bd_inode of struct block_device has the comment "/* will die */". How can I get the address space (mapping) of a block device without using bd_inode? Thanks -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [EMAIL PROTECTED] Please read the