Re: [RFC PATCH 7/7] md: add bcache personality

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

 



On Fri, May 18, 2012 at 9:52 AM, Doug Ledford <dledford@xxxxxxxxxx> wrote:
> On 5/11/2012 3:46 PM, Dan Williams wrote:
>> "Backing
>> device" vs "cache device" is determined by slot number whereby the
>> backing device slot is the highest number index.
>
> That needs fixing.  We used to do things by slot number long ago, and it
> turned out to create lots of races on reconfiguring slot indexes and
> moving devices around on rebuilds and stuff like that.  I would have to
> see us undo that fix when it comes to bcache.

Yeah, that hack should be easy to remove and userspace can look at the
sysfs attributes to determine the device's role.

--
Dan
--
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