Skip to contentSkip to conversation

Why all raid devices do have zero 'time in queue' value?

DISCUSSION George Shuklin 2 participants 2 messages Mar 10, 2012 – Mar 11, 2012 Device mapper

lore
Share & tools
lore
#0 lore raw

Good day.

I've look to stat for all MD devices I have (raid0, raid1, raid10) - all of them reports 0 for time_in_queue field in /sys/block/mdX/stat file.

Is any reason why all raid devices contains no information about time spent on requests processing?

Thanks.

#1 lore raw
Quoted 8 lines · On Sun, 11 Mar 2012 02:33:34 +0400 George Shuklin <[email protected]>…

Good day.

I've look to stat for all MD devices I have (raid0, raid1, raid10) - all of them reports 0 for time_in_queue field in /sys/block/mdX/stat file.

Is any reason why all raid devices contains no information about time spent on requests processing?

Wrong mailing list for MD - you want [email protected]

But I can still answer :

These raid levels don't queue requests at all. They just pass them straight to the relevant underlying devices.

(Now admittedly RAID5 does queue requests but doesn't set the time_in_queue field, but that is a separate issue).

If you really care about time_in_queue, you need to look at the queues of the member devices.

NeilBrown