Re: [RFC PATCH 7/7] md: add bcache personality
From: Dan Williams <hidden>
Date: 2012-05-18 16:57:36
Also in:
linux-raid
From: Dan Williams <hidden>
Date: 2012-05-18 16:57:36
Also in:
linux-raid
On Fri, May 18, 2012 at 9:52 AM, Doug Ledford [off-list ref] wrote:
On 5/11/2012 3:46 PM, Dan Williams wrote:quoted
"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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html