Jeff Garzik 3be6cbd73f [libata] kill ata_sg_is_last()
Short term, this works around a bug introduced by early sg-chaining
work.

Long term, removing this function eliminates a branch from a hot
path loop in each scatter/gather table build.  Also, as this code
demonstrates, we don't need to _track_ the end of the s/g list, as
long as we mark it in some way.  And doing so programatically is nice.
So its a useful cleanup, regardless of its short term effects.

Based conceptually on a quick patch by Jens Axboe.

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2007-10-18 16:21:18 -04:00
..
2007-10-17 08:42:52 -07:00
2007-10-18 16:21:18 -04:00
2007-10-17 08:42:49 -07:00
2007-10-16 22:29:58 +02:00
2007-10-16 19:04:49 -07:00
2007-10-17 22:51:13 +02:00
2007-10-17 08:42:52 -07:00
2007-10-18 16:21:18 -04:00
2007-10-17 08:42:52 -07:00
2007-10-17 08:42:57 -07:00
2007-10-17 08:43:07 -07:00