Re: ios_in_flight of CONFIG_BLK_STATS (still) negative in 2.4
- From: Zlatko Calusic <zlatko.calusic@xxxxxxxx>
- Date: Fri, 18 Aug 2006 11:27:30 +0200
Steffen Maier <smaier@xxxxxxxxxxxxxxxxxxxxx> writes:
Hello,
in this posting I would like to analyze and discuss a bug(?), that
causes the number of I/O requests in flight (ios_in_flight) of the
extended block device statistics (CONFIG_BLK_STATS) to become and stay
negative on various kernels of version 2.4. In turn, this leads to
erroneous display of 100% utilization for certain classes of harddisk
devices with 'iostat -x' and probably other statistic tools relying on
the 13th (last but two) field (ios_in_flight) of extended block device
statistics listed in /proc/partitions.
First I encountered the behavior with 2.4.24 but could reproduce it
with 2.4.33-rc3 (which is now the latest 2.4 kernel version 2.4.33).
There have been various postings concerning this problem in recent
years but to the best of my knowledge no ultimate fix has been merged
into the mainstream kernel so far.
Have you tried this patch: http://linux.inet.hr/iostat_patch_2.4.html
It was made against 2.4.24 so you'll probably need to tweak it a
little bit before applying it cleanly to a newer 2.4, but I think it
deserves it's chance.
--
Zlatko
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- ios_in_flight of CONFIG_BLK_STATS (still) negative in 2.4
- From: Steffen Maier
- ios_in_flight of CONFIG_BLK_STATS (still) negative in 2.4
- Prev by Date: Re: [ckrm-tech] [RFC][PATCH 3/7] UBC: ub context and inheritance
- Next by Date: Re: [ckrm-tech] [RFC][PATCH 5/7] UBC: kernel memory accounting (core)
- Previous by thread: Re: ios_in_flight of CONFIG_BLK_STATS (still) negative in 2.4
- Next by thread: [PATCH] ext2: avoid needless discard of preallocated blocks
- Index(es):
Relevant Pages
|