RE: Possible Bug in 3.8.0rc4 kernel

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

 



Could latency in my ceph block device could cause this?  I am not familiar with the lio code.  When lio is writing to the block device I notice that ceph will delay writes sometimes if it is redistributing data due to an outage.

-----Original Message-----
From: target-devel-owner@xxxxxxxxxxxxxxx [mailto:target-devel-owner@xxxxxxxxxxxxxxx] On Behalf Of Roland Dreier
Sent: Monday, January 28, 2013 11:58 AM
To: Holcombe, Christopher
Cc: target-devel@xxxxxxxxxxxxxxx
Subject: Re: Possible Bug in 3.8.0rc4 kernel

On Mon, Jan 28, 2013 at 8:03 AM, Holcombe, Christopher <cholcomb@xxxxxxxxxxx> wrote:
> [21084.500064] RIP: 0010:[<ffffffff8107a4af>]  [<ffffffff8107a4af>]
> __cancel_work_timer+0x8f/0xa0

...

> [21084.500064]  [<ffffffff8107a4f0>] cancel_work_sync+0x10/0x20
> [21084.500064]  [<ffffffffa008ddaa>] core_tmr_abort_task+0x17a/0x240
> [target_core_mod]

You're crashing in the cancel_work_sync() in core_tmr_abort_task():

    cancel_work_sync(&se_cmd->work);

I've noticed that before -- as far as I can see, there's no guarantee that the work item in se_cmd has been initialized at that point.
Perhaps the right fix is to add something like

    INIT_WORK(&cmd->work, NULL);

to transport_init_se_cmd() ?

 - R.
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at  http://vger.kernel.org/majordomo-info.html

________________________________

NOTICE: This e-mail and any attachments is intended only for use by the addressee(s) named herein and may contain legally privileged, proprietary or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this email, and any attachments thereto, is strictly prohibited. If you receive this email in error please immediately notify me via reply email or at (800) 927-9800 and permanently delete the original copy and any copy of any e-mail, and any printout.
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux