public inbox for linux-ide@vger.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Jason Yan <yanaijie@huawei.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: about warning in ata_eh_finish()
Date: Wed, 20 Dec 2017 09:36:36 -0800	[thread overview]
Message-ID: <20171220173636.GC3413940@devbig577.frc2.facebook.com> (raw)
In-Reply-To: <5A39FF85.1040904@huawei.com>

On Wed, Dec 20, 2017 at 02:13:25PM +0800, Jason Yan wrote:
> Hi, Tejun,
> 
> We often see this warning when using sata disks with libsas:
> 
> [26705.760518] WARNING: CPU: 1 PID: 6796 at
> drivers/ata/libata-eh.c:4037 ata_eh_finish+0xb4/0xcc
> 
> [26706.350156] [<ffff0000088baf70>] ata_eh_finish+0xb4/0xcc
> [26706.364260] [<ffff0000088bb764>] ata_do_eh+0x68/0xd8
> [26706.377497] [<ffff0000088bb818>] ata_std_error_handler+0x44/0x8c
> [26706.393406] [<ffff0000088bb408>] ata_scsi_port_error_handler+0x480/0x694
> [26706.411352] [<ffff000008879364>] async_sas_ata_eh+0x4c/0x80
> [26706.426133] [<ffff0000080f6be8>] async_run_entry_fn+0x4c/0x170
> [26706.441841] [<ffff0000080ebd70>] process_one_work+0x144/0x390
> [26706.457057] [<ffff0000080ec100>] worker_thread+0x144/0x418
> [26706.471610] [<ffff0000080f2c98>] kthread+0x10c/0x138
> [26706.484991] [<ffff0000080855dc>] ret_from_fork+0x10/0x18
> 
> This seems implies that ap->nr_active_links is wrong and should be zero.
> But I didn't see any other errors. The disks work well.

Which kernel version are you running on what sort of device?  Can you
post the full log?

Thanks.

-- 
tejun

  reply	other threads:[~2017-12-20 17:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-20  6:13 about warning in ata_eh_finish() Jason Yan
2017-12-20 17:36 ` Tejun Heo [this message]
2017-12-21  1:31   ` Jason Yan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171220173636.GC3413940@devbig577.frc2.facebook.com \
    --to=tj@kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=yanaijie@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox