[lkml]   [2006]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 1/4] change buffer_head.b_size to size_t
    Badari Pulavarty <> 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'.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-03-02 02:52    [W:0.020 / U:9.760 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site