commit | c0a6b0d8fcf07512fad42ba16613da83ceec4475 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Mon Feb 26 12:28:58 2007 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Mon Feb 26 12:28:58 2007 +0100 |
tree | 19e53e87bfa05496df18d2c595474de2f3c30733 | |
parent | 5b38ee84f35c7cf3a3a804e6dbe3621f8980d3bb [diff] |
Speedup init_disk_util() when dealing with many jobs sysfs lookups can take quite a while, so check against last device to avoid having to iterate through sysfs again. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>