linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: Jeff Layton <jlayton@poochiereds.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
	"J. Bruce Fields" <bfields@fieldses.org>,
	Christoph Hellwig <hch@lst.de>,
	Dave Chinner <david@fromorbit.com>
Subject: Re: [GIT PULL] please pull file-locking related changes for v3.20
Date: Mon, 16 Feb 2015 15:32:00 +0200	[thread overview]
Message-ID: <20150216133200.GB3270@node.dhcp.inet.fi> (raw)
In-Reply-To: <20150209055540.2f2a3689@tlielax.poochiereds.net>

On Mon, Feb 09, 2015 at 05:55:40AM -0500, Jeff Layton wrote:
> The following changes since commit cb59670870d90ff8bc31f5f2efc407c6fe4938c0:
> 
>   Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse (2015-01-16 14:58:16 +1300)
> 
> are available in the git repository at:
> 
>   git://git.samba.org/jlayton/linux.git tags/locks-v3.20-1
> 
> for you to fetch changes up to 8116bf4cb62d337c953cfa5369ef4cf83e73140c:
> 
>   locks: update comments that refer to inode->i_flock (2015-01-21 20:44:01 -0500)
> 
> ----------------------------------------------------------------
> File locking related changes for v3.20 (pile #1)
> 
> This patchset contains a fairly major overhaul of how file locks are
> tracked within the inode. Rather than a single list, we now create a
> per-inode "lock context" that contains individual lists for the file
> locks, and a new dedicated spinlock for them.
> 
> There are changes in other trees that are based on top of this set so
> it may be easiest to pull this in early.

The warning below is triggered on exit from trinity by ctrl-c. I saw it
few times.

[  733.480323] ------------[ cut here ]------------
[  733.480985] WARNING: CPU: 1 PID: 24375 at /home/kas/git/public/linux-next/fs/locks.c:243 locks_free_lock_context+0x6a/0xd0()
[  733.482393] Modules linked in:
[  733.482807] CPU: 1 PID: 24375 Comm: trinity-main Not tainted 3.19.0-next-20150212-00024-g8d751e144a78-dirty #641
[  733.484108] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.7.5.1-0-g8936dbb-20141113_115728-nilsson.home.kraxel.org 04/01/2014
[  733.485713]  ffffffff81c9c150 ffff88084b88bc88 ffffffff81883d17 0000000000000007
[  733.486708]  0000000000000000 ffff88084b88bcc8 ffffffff81054eca ffff88007a31dc30
[  733.487701]  ffff88007060fda0 ffff88007a31dc30 ffffffff81a27940 ffff88007a31dc30
[  733.488695] Call Trace:
[  733.489017]  [<ffffffff81883d17>] dump_stack+0x4f/0x7b
[  733.489678]  [<ffffffff81054eca>] warn_slowpath_common+0x8a/0xc0
[  733.490431]  [<ffffffff81054fba>] warn_slowpath_null+0x1a/0x20
[  733.491165]  [<ffffffff8122d74a>] locks_free_lock_context+0x6a/0xd0
[  733.491959]  [<ffffffff811f1ba2>] __destroy_inode+0x32/0xe0
[  733.492715]  [<ffffffff811f3006>] destroy_inode+0x26/0x70
[  733.493394]  [<ffffffff811f3162>] evict+0x112/0x1a0
[  733.494026]  [<ffffffff811f3d1e>] iput+0x2be/0x3d0
[  733.494635]  [<ffffffff811ee480>] __dentry_kill+0x190/0x200
[  733.495341]  [<ffffffff811ee88b>] dput+0x39b/0x3d0
[  733.495946]  [<ffffffff811ee519>] ? dput+0x29/0x3d0
[  733.496581]  [<ffffffff811d618c>] __fput+0x14c/0x220
[  733.497218]  [<ffffffff811d62ae>] ____fput+0xe/0x10
[  733.497847]  [<ffffffff810785e4>] task_work_run+0xb4/0xe0
[  733.498532]  [<ffffffff810586ce>] do_exit+0x36e/0xd60
[  733.499175]  [<ffffffff8188e5d1>] ? retint_swapgs+0xe/0x44
[  733.499868]  [<ffffffff8143ce13>] ? __this_cpu_preempt_check+0x13/0x20
[  733.500695]  [<ffffffff81059164>] do_group_exit+0x54/0xe0
[  733.501388]  [<ffffffff81059204>] SyS_exit_group+0x14/0x20
[  733.502080]  [<ffffffff8188da12>] system_call_fastpath+0x12/0x17
[  733.502874] ---[ end trace bcc1a9752062721f ]---

-- 
 Kirill A. Shutemov

  reply	other threads:[~2015-02-16 13:32 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-09 10:55 [GIT PULL] please pull file-locking related changes for v3.20 Jeff Layton
2015-02-16 13:32 ` Kirill A. Shutemov [this message]
2015-02-16 14:00   ` Jeff Layton
2015-02-16 18:46     ` Linus Torvalds
2015-02-16 19:24       ` Linus Torvalds
2015-02-16 19:59         ` Jeff Layton
2015-02-17  0:02         ` Jeff Layton
2015-02-17  0:21           ` Linus Torvalds
2015-02-17  0:35             ` Jeff Layton
2015-02-17 19:08         ` J. Bruce Fields
2015-02-17 19:13           ` Linus Torvalds
2015-02-17 19:27             ` Jeff Layton
2015-02-17 19:41               ` Linus Torvalds
2015-02-17 19:45                 ` J. Bruce Fields
2015-02-17 20:12                 ` Jeff Layton
2015-02-17 20:17                   ` Linus Torvalds
2015-02-17 19:29             ` Linus Torvalds
2015-02-26 11:00             ` One Thousand Gnomes
2015-02-26 14:45               ` J. Bruce Fields
2015-02-26 15:09                 ` J. Bruce Fields

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=20150216133200.GB3270@node.dhcp.inet.fi \
    --to=kirill@shutemov.name \
    --cc=bfields@fieldses.org \
    --cc=david@fromorbit.com \
    --cc=hch@lst.de \
    --cc=jlayton@poochiereds.net \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /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;
as well as URLs for NNTP newsgroup(s).