Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D151FC433DF for ; Thu, 11 Jun 2020 08:12:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AC37F2074B for ; Thu, 11 Jun 2020 08:12:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726677AbgFKIMF (ORCPT ); Thu, 11 Jun 2020 04:12:05 -0400 Received: from mx2.suse.de ([195.135.220.15]:58472 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726623AbgFKIMF (ORCPT ); Thu, 11 Jun 2020 04:12:05 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id B88C4ABC7; Thu, 11 Jun 2020 08:12:07 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id 92CE11E1283; Thu, 11 Jun 2020 10:12:03 +0200 (CEST) From: Jan Kara To: Cc: Christoph Hellwig , Martijn Coenen , Jan Kara Subject: [PATCH 0/4 v2] writeback: Lazytime handling fix and cleanups Date: Thu, 11 Jun 2020 10:11:51 +0200 Message-Id: <20200611075033.1248-1-jack@suse.cz> X-Mailer: git-send-email 2.16.4 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Hello, this patch series fixes an issue with handling of lazy inode timestamp writeback which could result in missed background writeback of an inode or missed update of inode timestamps during sync(2). It also somewhat simplifies the writeback code handling of lazy inode timestamp updates. Changes since v1: * Split off locking change for i_io_list manipulation to a separate patch * Renamed older_than_this to dirtied_before * Renamed __redirty_tail() to redirty_tail_locked() * Other minor style fixes Honza Previous versions: Link: http://lore.kernel.org/r/20200601091202.31302-1-jack@suse.cz