Basic question regarding page and buffer_head

From: Vineet Joglekar (vinzip_at_indiatimes.com)
Date: 07/26/04


Date: 26 Jul 2004 05:48:29 -0700

Hi all,

In kernel 2.4.18, in the struct "buffer_head", there was a field
"struct inode * b_inode", which to my knowledge was used to indiacate
the inode to which that buffer head is assigned. In kernel 2.4.21 this
field is removed. Hence I am getting kind of confused in basic
concepts, like:
    - Inside a page, if there are 4 buffers, can they be callocated to
different files?
    - if yes, how do I come to know which buffer is assigned to which
file (in kernel 2.4.21)
    - or entire page is dedicated to a single file?

Thanks and regards,

Vin



Relevant Pages

  • Re: Not panic in nfsd (Re: panic in nfsd on 6.2-RC1)
    ... one client connecting and it is being used as mail storage (i.e. the ... Well I have now added kdb and invariants/witness support to the kernel ... as a new bug until you find conclusive evidence that it's the same as ... struct inode *ip; ...
    (freebsd-stable)
  • Re: Should struct inode be made available to userspace?
    ... > kernel specific) of struct inode. ... struct inode and structures containing it should not be used outside of kernel. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Not panic in nfsd (Re: panic in nfsd on 6.2-RC1)
    ... about once or twice a day, but cannot correlate those to lockup. ... that I have enabled the options mentioned above in the kernel, ... struct inode *ip; ...
    (freebsd-stable)
  • Re: Merging relayfs?
    ... > kernel to implement speculative tracing, ... relayfs was prepared for low latency on move data outside kernel space, ... getting data from probes do not require organize all them in regular ... Only in all cases where buffer must be neccessarly moved outside kernel ...
    (Linux-Kernel)
  • [PATCH] Documentation update for relay interface
    ... Here's updated documentation for the relay interface, ... +efficiently log and transfer large quantities of data from the kernel ... +A 'relay channel' is a kernel->user data relay mechanism implemented ... +buffer data. ...
    (Linux-Kernel)