1ATAPI_DRAIN_NEEDED(9)   libata SCSI translation/emulat   ATAPI_DRAIN_NEEDED(9)
2
3
4

NAME

6       atapi_drain_needed - Check whether data transfer may overflow
7

SYNOPSIS

9       int atapi_drain_needed(struct request * rq);
10

ARGUMENTS

12       rq
13           request to be checked
14

DESCRIPTION

16       ATAPI commands which transfer variable length data to host might
17       overflow due to application error or hardare bug. This function checks
18       whether overflow should be drained and ignored for request.
19

LOCKING

21       None.
22

RETURNS

24       1 if ; otherwise, 0.
25

AUTHOR

27       Jeff Garzik
28           Author.
29
31Kernel Hackers Manual 2.6.       November 2011           ATAPI_DRAIN_NEEDED(9)
Impressum