From patchwork Thu Apr 20 13:29:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miklos Szeredi X-Patchwork-Id: 9690437 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EE27160326 for ; Thu, 20 Apr 2017 13:33:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E31F021E5A for ; Thu, 20 Apr 2017 13:33:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D7FFF283BA; Thu, 20 Apr 2017 13:33:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9ECD321E5A for ; Thu, 20 Apr 2017 13:33:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S945933AbdDTNdC (ORCPT ); Thu, 20 Apr 2017 09:33:02 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:35967 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S943537AbdDTNdA (ORCPT ); Thu, 20 Apr 2017 09:33:00 -0400 Received: by mail-wm0-f65.google.com with SMTP id u65so3149180wmu.3 for ; Thu, 20 Apr 2017 06:32:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=0N1MDrczz+uVnYJbMPOTpPpz17GxkPxkI4G1rEuwBg0=; b=rbuGdzQV6qc2CSGn05P9wy9GmDPpEvvoXXc4EJ820R+IjtUrQdbc+Vrc50mnSmeKkI iW+PJPOqRjmgvUNx6MZ397vv3y95snPddttn2ZhdSVCWPF8/VcjlNQmzFCwTHaLpRk60 nG23NJ/EMw20t7dK5f9qwQjzr37Kfqqn8y0V0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=0N1MDrczz+uVnYJbMPOTpPpz17GxkPxkI4G1rEuwBg0=; b=ExaLLismJVXwAS1F+vTFdEa2Qg8snOYi2npWPNJ4s1j5+jpDLMrMHa9CGqYgEIswOM TEIkQMsuQ8XlWpR6D73dWLv6M4GFj0snB/mNpbvwvLEmhf2XEOD7uq/ybwNSG5a5huBX 496OxvV7P2orpaSF40QGraVFH9b6RJqFnydKOTx9SkZvfuvyOPD6rQ6oZMjaRHMUYxbZ cHazD2B/xCPq5rNktOwDLuL/CE0xHsrNuVBc4opSzajbPvPl6zIWbVeArp6zGO1j3uXI uQa0CtlKzqjdAWUDiF3otBwVSRq/xsXJI9rAtWkzRxFBmcFi//Bwv2EwkvEMFyJZ0tMJ EJMQ== X-Gm-Message-State: AN3rC/5qX8U7KLp58ztxa3nFH5jNUNCc8GrtjwsPL0CRkCYX45N8OXDk mVp+0wjV9bf7JA== X-Received: by 10.28.127.139 with SMTP id a133mr3386967wmd.84.1492695168328; Thu, 20 Apr 2017 06:32:48 -0700 (PDT) Received: from veci.piliscsaba.szeredi.hu (catv-176-63-54-97.catv.broadband.hu. [176.63.54.97]) by smtp.gmail.com with ESMTPSA id v52sm3160018wrc.53.2017.04.20.06.32.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Apr 2017 06:32:47 -0700 (PDT) Date: Thu, 20 Apr 2017 15:29:20 +0200 From: Miklos Szeredi To: Antonio SJ Musumeci Cc: fuse-devel , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [fuse-devel] trying to steal weird page? Message-ID: <20170420132920.GA5214@veci.piliscsaba.szeredi.hu> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Wed, Apr 12, 2017 at 11:30:00AM -0400, Antonio SJ Musumeci wrote: > A user reported getting the below errors when *not* using direct_io > but atomic_o_trunc, auto_cache, big_writes, default_permissions, > splice_move, splice_read, and splice_write are enabled. > > Any ideas? I think this is due to the PageWaiters bit added in v4.10 by 62906027091f ("mm: add PageWaiters indicating tasks are waiting for a page bit") That bit is harmless and probably left behind due to a race. Following patch should fix the warning. Thanks, Miklos --- fs/fuse/dev.c | 1 + 1 file changed, 1 insertion(+) --- a/fs/fuse/dev.c +++ b/fs/fuse/dev.c @@ -811,6 +811,7 @@ static int fuse_check_page(struct page * 1 << PG_uptodate | 1 << PG_lru | 1 << PG_active | + 1 << PG_waiters | 1 << PG_reclaim))) { printk(KERN_WARNING "fuse: trying to steal weird page\n"); printk(KERN_WARNING " page=%p index=%li flags=%08lx, count=%i, mapcount=%i, mapping=%p\n", page, page->index, page->flags, page_count(page), page_mapcount(page), page->mapping);