.\" 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_SYNC_QUEUE" "9" "09 October 2005" "" "" .SH NAME blk_sync_queue \- cancel any pending callbacks on a queue .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void blk_sync_queue (struct request_queue * \fIq\fB); \fR .SH "ARGUMENTS" .TP \fB\fIq\fB\fR the queue .SH "DESCRIPTION" .PP The block layer may perform asynchronous callback activity on a queue, such as calling the unplug function after a timeout. A block device may call blk_sync_queue to ensure that any such activity is cancelled, thus allowing it to release resources the the callbacks might use. The caller must already have made sure that its ->make_request_fn will not re-add plugging prior to calling this function.