Hi, On Friday 22 June 2007, Alan Cox wrote: > > > I think a /sys/ "dma" attribute (pick a name) might be most appropriate, > > > or we just just implement HDIO_[GS]ET_DMA as a simpler/lazier mechanism. > > > > The problem is that libata lacks any locking needed for having this > > (and other useful) settings tunable on per device basis. > > Actually libata does have the paths for it and uses them when drives are > hotplugged. Tejun posted an explanation of how to implement it a while > ago when I proposed a totally bogus implementation - it has to be done > via the EH code. I must have missed the original discussion. > So we'd add user mode masks to each device and the sysfs nodes would > update that mask and trigger the EH processing to halt activity, retune > the disks and continue Sounds good. Thanks, Bart - To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html