public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Badari Pulavarty <pbadari@us.ibm.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/4] change buffer_head.b_size to size_t
Date: Wed, 1 Mar 2006 17:51:48 -0800	[thread overview]
Message-ID: <20060301175148.2250b36e.akpm@osdl.org> (raw)
In-Reply-To: <1141075361.10542.21.camel@dyn9047017100.beaverton.ibm.com>

Badari Pulavarty <pbadari@us.ibm.com> wrote:
>
> + * Historically, a buffer_head was used to map a single block
> + * within a page, and of course as the unit of I/O through the
> + * filesystem and block layers.  Nowadays the basic I/O unit
> + * is the bio, and buffer_heads are used for extracting block
> + * mappings (via a get_block_t call), for tracking state within
> + * a page (via a page_mapping) and for wrapping bio submission
> + * for backward compatibility reasons (e.g. submit_bh).

Well kinda.  A buffer_head remains the kernel's basic abstraction for a
"disk block".  We cannot replace that with `struct page' (size isn't
flexible) nor of course with `struct bio'.


  parent reply	other threads:[~2006-03-02  1:49 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-27 21:20 [PATCH 0/4] map multiple blocks in get_block() and mpage_readpages() Badari Pulavarty
2006-02-27 21:22 ` [PATCH 1/4] change buffer_head.b_size to size_t Badari Pulavarty
2006-03-02  1:51   ` Andrew Morton
2006-03-02  1:51   ` Andrew Morton [this message]
2006-03-02  2:22     ` Nathan Scott
2006-03-02  2:56       ` Andrew Morton
2006-03-06 19:54         ` Tim Pepper
2006-02-27 21:23 ` [PATCH 2/4] pass b_size to ->get_block() Badari Pulavarty
2006-03-02  1:52   ` Andrew Morton
2006-03-03 17:17     ` Badari Pulavarty
2006-02-27 21:24 ` [PATCH 3/4] map multiple blocks for mpage_readpages() Badari Pulavarty
2006-03-02  4:45   ` Andrew Morton
2006-03-03 16:51     ` Badari Pulavarty
2006-02-27 21:24 ` [PATCH 4/4] remove ->get_blocks() support Badari Pulavarty
2006-03-02  1:52 ` [PATCH 0/4] map multiple blocks in get_block() and mpage_readpages() Andrew Morton
2006-03-03 17:05   ` Badari Pulavarty
2006-03-03 20:32     ` Andrew Morton
2006-03-03 21:54       ` Badari Pulavarty

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060301175148.2250b36e.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pbadari@us.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox