__submit_bh(9)

NAME

__submit_bh

SYNOPSIS

void __submit_bh (int rw, struct buffer_head *bh, unsigned
long blocknr);

ARGUMENTS

rw whether to READ or WRITE, or maybe to READA
(read ahead)
bh The struct buffer_head which describes the
I/O
blocknr -- undescribed -

DESCRIPTION

submit_bh is very similar in purpose to generic_make_request, and uses that function to do most of the work.

The extra functionality provided by submit_bh is to deter
mine b_rsector from b_blocknr and b_size, and to set
b_rdev from b_dev. This is is appropriate for IO requests
that come from the buffer cache and page cache which (cur
rently) always use aligned blocks.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout