On 7/7/05, Jens Axboe <[email protected]> wrote: > Did it say 'head parked'? If the drive is idle, you wont hear anything. > Laptop drives auto-park really quickly themselves. A time ./park > /dev/hda should tell you whether it needed to park or not, if it > executes faster than a few hundred ms it was already parked. Aah, you're right. haji tmp # time ./a.out /dev/hda head parked real 0m0.421s user 0m0.000s sys 0m0.001s Immediately after that: haji tmp # time ./a.out /dev/hda head parked real 0m0.001s user 0m0.000s sys 0m0.001s And then I do bit of disk reads and I get this again: haji tmp # time ./a.out /dev/hda head parked real 0m0.429s user 0m0.001s sys 0m0.001s So looks like it works for me too. Pekka - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))
- From: Jens Axboe <[email protected]>
- Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))
- From: Jens Axboe <[email protected]>
- Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))
- From: Arjan van de Ven <[email protected]>
- Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))
- From: Jens Axboe <[email protected]>
- Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))
- From: Lenz Grimmer <[email protected]>
- Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))
- From: Jens Axboe <[email protected]>
- Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))
- From: Jens Axboe <[email protected]>
- Re: Head parking (was: IBM HDAPS things are looking up)
- From: Lenz Grimmer <[email protected]>
- Re: Head parking (was: IBM HDAPS things are looking up)
- From: Pekka Enberg <[email protected]>
- Re: Head parking (was: IBM HDAPS things are looking up)
- From: Jens Axboe <[email protected]>
- Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))
- Prev by Date: Re: [PATCH 3/13]: PCI Err: IPR scsi device driver recovery
- Next by Date: Re: [git patches] IDE update
- Previous by thread: Re: Head parking (was: IBM HDAPS things are looking up)
- Next by thread: Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))
- Index(es):