Re: [PATCH] libata: Add pata_dma option so users can disable pata_dma as they can with old-ide

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

 



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

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

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux