Re: [PATCH] md: new bitmap sysfs interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday July 25, paul.clements@xxxxxxxxxxxx wrote:
> This patch (tested against 2.6.18-rc1-mm1) adds a new sysfs interface 
> that allows the bitmap of an array to be dirtied. The interface is 
> write-only, and is used as follows:
> 
> echo "1000" > /sys/block/md2/md/bitmap
> 
> (dirty the bit for chunk 1000 [offset 0] in the in-memory and on-disk 
> bitmaps of array md2)
> 
> echo "1000-2000" > /sys/block/md1/md/bitmap
> 
> (dirty the bits for chunks 1000-2000 in md1's bitmap)
> 

Thanks.  Only one remaining issue (which I didn't think of last time :-)

Is 'bitmap' the best name for the sysfs file?
It seems a bit generic to me.

  write-bits-here-to-dirty-them-in-the-bitmap

is probably (no, definitely) too verbose.

 dirty-in-bitmap
maybe?
 bitmap-set-bits

None of these seem completely satisfying.
I like to start with the most important word - which is 'bitmap' in
this case, but that isn't completely essential.

Any better suggestions?

Thanks,
NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux