On Sat, 23 Oct 2010 22:44:42 +0900 Namhyung Kim <namhyung@gmail.com> wrote:
block_prepare_write() may need to preread any buffer_head which are
being only partially modified by the write().
Buffers which aren't being modified at all don't need to be preread.
Buffers which are being fully modified don't need to be preread
(because all their data is being overwritten).
page: |-----------------------|
buffer_heads: |-----|-----|-----|-----|
area we're writing to: |---------|
There can only be a maximum of two partially-modified buffers in the page.
--