Scroll to navigation

ATAPI_DRAIN_NEEDED(9) libata SCSI translation/emulat ATAPI_DRAIN_NEEDED(9)

NAME

atapi_drain_needed - Check whether data transfer may overflow

SYNOPSIS

int atapi_drain_needed(struct request * rq);

ARGUMENTS

struct request * rq

request to be checked

DESCRIPTION

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

LOCKING: None.

RETURN

1 if ; otherwise, 0.

AUTHOR

Jeff Garzik

Author.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11