.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "BLK_ATTEMPT_REMERGE" "" "06 October 2005" "" ""
.SH NAME
blk_attempt_remerge \- attempt to remerge active head with next request
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void blk_attempt_remerge (request_queue_t * \fIq\fB, struct request * \fIrq\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIq\fB\fR
The &request_queue_t belonging to the device
.TP
\fB\fIrq\fB\fR
The head request (usually)
.SH "DESCRIPTION"
.PP
For head-active devices, the queue can easily be unplugged so quickly
that proper merging is not done on the front request. This may hurt
performance greatly for some devices. The block layer cannot safely
do merging on that first request for these queues, but the driver can
call this function and make it happen any way. Only the driver knows
when it is safe to do so.