# Linux Software RAID Bitmap Question

- From: Justin Piszcz \<hidden\>
- Date: 2007-02-25 14:05:14 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2007/02/6599307
- Thread: https://ratatoskr.run/linux-raid/2007/02/6599307/t.md

```text
Anyone have a good explanation for the use of bitmaps?

Anyone on the list use them?

http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID#Data_Scrubbing

Provides an explanation on that page.

I believe Neil stated that using bitmaps does incur a 10% performance penalty.  If one's box never (or rarely) crashes, is a bitmap needed?

The one question I had regarding a bitmap is as follows:

The mismatch_cnt file.

If I have bitmaps turned on for my RAID DEVICES, is it possible that the 'mismatch_cnt' will be updated when it finds a bad block?

That would be VERY nice instead of running a check all the time.

Justin.
```
