All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] enable FUA support in libata
@ 2012-04-13  8:11 Zheng Liu
  2012-04-13 14:18 ` Jeff Garzik
  0 siblings, 1 reply; 4+ messages in thread
From: Zheng Liu @ 2012-04-13  8:11 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-kernel, linux-ide, linux-scsi

Hi Jeff and list,

Recently I met a problem about FUA support of SATA disk.  In my machine,
it has a SATA disk that supports FUA feature.  But after system starts
up, it displays that the disk cannot support FUA from dmesg.

I notice this commit (c3c013a2).  It disables FUA support in all of SATA
disk.  But the commit log is too simple to know why we should disable
FUA support in libata.  Could you please explain it?  Thank you.

Regards,
Zheng

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC] enable FUA support in libata
  2012-04-13  8:11 [RFC] enable FUA support in libata Zheng Liu
@ 2012-04-13 14:18 ` Jeff Garzik
  2012-04-13 15:25     ` Zheng Liu
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Garzik @ 2012-04-13 14:18 UTC (permalink / raw)
  To: linux-kernel, linux-ide, linux-scsi

On 04/13/2012 04:11 AM, Zheng Liu wrote:
> Hi Jeff and list,
>
> Recently I met a problem about FUA support of SATA disk.  In my machine,
> it has a SATA disk that supports FUA feature.  But after system starts
> up, it displays that the disk cannot support FUA from dmesg.
>
> I notice this commit (c3c013a2).  It disables FUA support in all of SATA
> disk.  But the commit log is too simple to know why we should disable
> FUA support in libata.  Could you please explain it?  Thank you.

FUA support in the block layer wanted speed and guarantees that early 
FUA drives were simply not providing.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC] enable FUA support in libata
  2012-04-13 14:18 ` Jeff Garzik
@ 2012-04-13 15:25     ` Zheng Liu
  0 siblings, 0 replies; 4+ messages in thread
From: Zheng Liu @ 2012-04-13 15:25 UTC (permalink / raw)
  Cc: linux-kernel, linux-ide, linux-scsi

On Fri, Apr 13, 2012 at 10:18 PM, Jeff Garzik <jeff@garzik.org> wrote:
> On 04/13/2012 04:11 AM, Zheng Liu wrote:
>>
>> Hi Jeff and list,
>>
>> Recently I met a problem about FUA support of SATA disk.  In my machine,
>> it has a SATA disk that supports FUA feature.  But after system starts
>> up, it displays that the disk cannot support FUA from dmesg.
>>
>> I notice this commit (c3c013a2).  It disables FUA support in all of SATA
>> disk.  But the commit log is too simple to know why we should disable
>> FUA support in libata.  Could you please explain it?  Thank you.
>
>
> FUA support in the block layer wanted speed and guarantees that early FUA
> drives were simply not providing.

Hi Jeff,

Thank you for your reply.  I notice that this patch is merged in 2006.
 I don't know whether we can enable it now by default or not.  I read
some specifications of SATA disks.  They support FUA feature.
Although libata_fua variable is a kernel module parameter and we can
enable it when this module is loaded,  it is too complicated because
it needs to be loaded before kernel is loaded.  Thus, we need to set
libata_fua in initrd.  Maybe we can change it into a sysctl parameter.
 Then we can enable it dynamically.  Do you have any suggestions?
Thank you.

Regards,
Zheng

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC] enable FUA support in libata
@ 2012-04-13 15:25     ` Zheng Liu
  0 siblings, 0 replies; 4+ messages in thread
From: Zheng Liu @ 2012-04-13 15:25 UTC (permalink / raw)
  Cc: linux-kernel, linux-ide, linux-scsi

On Fri, Apr 13, 2012 at 10:18 PM, Jeff Garzik <jeff@garzik.org> wrote:
> On 04/13/2012 04:11 AM, Zheng Liu wrote:
>>
>> Hi Jeff and list,
>>
>> Recently I met a problem about FUA support of SATA disk.  In my machine,
>> it has a SATA disk that supports FUA feature.  But after system starts
>> up, it displays that the disk cannot support FUA from dmesg.
>>
>> I notice this commit (c3c013a2).  It disables FUA support in all of SATA
>> disk.  But the commit log is too simple to know why we should disable
>> FUA support in libata.  Could you please explain it?  Thank you.
>
>
> FUA support in the block layer wanted speed and guarantees that early FUA
> drives were simply not providing.

Hi Jeff,

Thank you for your reply.  I notice that this patch is merged in 2006.
 I don't know whether we can enable it now by default or not.  I read
some specifications of SATA disks.  They support FUA feature.
Although libata_fua variable is a kernel module parameter and we can
enable it when this module is loaded,  it is too complicated because
it needs to be loaded before kernel is loaded.  Thus, we need to set
libata_fua in initrd.  Maybe we can change it into a sysctl parameter.
 Then we can enable it dynamically.  Do you have any suggestions?
Thank you.

Regards,
Zheng

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-04-13 15:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-13  8:11 [RFC] enable FUA support in libata Zheng Liu
2012-04-13 14:18 ` Jeff Garzik
2012-04-13 15:25   ` Zheng Liu
2012-04-13 15:25     ` Zheng Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.