Received: by 10.192.165.148 with SMTP id m20csp3911388imm; Mon, 23 Apr 2018 14:55:04 -0700 (PDT) X-Google-Smtp-Source: AIpwx49bDdqbkmtDDlB0djuKO3wZ9hNt38TXA2LMpNv8IhOPJAKPwKdvRb1Mo8tllSPuUzRHRdIn X-Received: by 10.101.81.131 with SMTP id h3mr18202387pgq.110.1524520504426; Mon, 23 Apr 2018 14:55:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524520504; cv=none; d=google.com; s=arc-20160816; b=uf6Yenp18HZbCBQCeTN43Co1qvnROvpH285hVUs/aNYkB/muzclaP5M9kWVWev6rGv Ibnwy4Wu7eMaMNZU17KT1PRa5hMK72oVEtbMMXHAb/ooAKi4XHNVAk3FDsxQhYpsuIos CljMt/unZUjMsT+5JZix1zSkl7E7ZNR0ksWbSeHa1W1mhsYBkFgaoAAXM4eyKDpr/A4R u0CkaD3l653KLHADSCnMpB6jje0Hokngiciw+yowS7l0tT5wWqW7rk8X6E/0mwt0rBjQ QT5O2sucXNU1giZR86D70lcQvYSRgz/g7NOyJ+777Q7AYdwGgIxnk4WvxjEtrwftRndr MiaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature:arc-authentication-results; bh=xJUSdxAqhXerRi7XBWv4zYGpL3sNd1pvn2Hvt2q9jgE=; b=BmA9D+TA5JlC+hVZwGPgzWBrX4fiI1t1Qvv9lyzn6wC6ha0tVVuvNECwNBZf01HWHV YeMaaS8b8vPt5b9FEjVoTa8j+LzrJvgzEleTrxIbuzPEPWBktNinRKCny4AaMATZe/Pc lwnb1ZKJO5ZreZwscnw7Q0KjjAl2SaH1bILyEvoacjER87xEDKDdREiLwX87uTIlqhyb 4SCMVaSIrySBko6XFaoQPoZ27wcRG3jcpV5PJVpFMdwPrEUnCAOZ7DHX9wBwYwvGvA4B 8HEzGLbf7jmpSRvvA77f2/PjMZNnKIvQy4fYo2L6E5L3GOhLt+QGzbJbsgPCkBhWBL7t bH4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@anarazel.de header.s=fm1 header.b=pGgp7h6+; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=lawNs5Md; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q12si10507972pgc.614.2018.04.23.14.54.50; Mon, 23 Apr 2018 14:55:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@anarazel.de header.s=fm1 header.b=pGgp7h6+; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=lawNs5Md; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932646AbeDWVx2 (ORCPT + 99 others); Mon, 23 Apr 2018 17:53:28 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:47575 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932291AbeDWVx0 (ORCPT ); Mon, 23 Apr 2018 17:53:26 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 569E320F2B; Mon, 23 Apr 2018 17:53:26 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 23 Apr 2018 17:53:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=xJUSdxAqhXerRi7XBWv4zYGpL3sNd1pvn2Hvt2q9jgE=; b=pGgp7h6+ yIdrymoI9HuOhSSXKkLgFeOpVAbjBR9ZTPeYy4DicTMKO1Ynovpz1mdixesI5hGO s9B/A8mcFP+ncPFwNiJJG81NpE0m5dO4aXVTrwEF47s/V2aEwlqkoiV4ZEaNBMB3 fQSO0wgrOFQjdyYFByd+s1wZfjmUCfLqgHQPYdm8puyFgO/iPjpWxJsdyadTQIkz DXIhXzYGyxA3hcvrkbMzA/TAtfhGJ+SeAUJ+qeHeVA7ORnUuRHvQHgbbFFLWhnIp g8+Rfw1NoyecPgIk7aCk2CMAV7Isl3yNfp9Em0UAwsUQISg1hRGbwFAC1aV4nste wcePhREh5Lu66Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=xJUSdxAqhXerRi7XBWv4zYGpL3sNd 1pvn2Hvt2q9jgE=; b=lawNs5MdHPCdyGNOpF8q9cEtNjQvbILz3z3rqmu/+kdBL x6An+mjFAMFMvPbvprHE05viSAUlPQfXygFgZg69LQXCqbCxAbL1c3IRFllBTWwN 8vnAyOhN4RMUNvbdQ2gZHQKwlgrH5LrbUeTTPR2cGnoU8jdgCaLIbV/qQ1G5vjVY Y8DTq1P24uihM72pdNXomY6u50y2SrilzDOzoaYzTUwGNWoZdtLSWWTAANSK8TT2 LDGAzhdmKKR8/MM26glOepHc9BICBaLEd+9d6JUilk0/leHK83XAB33/mC4cmVD1 XcOi4YrSgdfdWjAA8HmDiCqD3v4QsqH3gy5Z2S6RA== X-ME-Sender: Received: from intern.anarazel.de (unknown [198.233.165.212]) by mail.messagingengine.com (Postfix) with ESMTPA id E725E10255; Mon, 23 Apr 2018 17:53:25 -0400 (EDT) Date: Mon, 23 Apr 2018 14:53:25 -0700 From: Andres Freund To: Matthew Wilcox Cc: linux-fsdevel@vger.kernel.org, Jeff Layton , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Always report a writeback error once Message-ID: <20180423215325.4jek2nr7lqy4y532@alap3.anarazel.de> References: <20180423204208.GG13383@bombadil.infradead.org> <20180423205730.34wvykqhefbkrtfw@alap3.anarazel.de> <20180423214348.GH13383@bombadil.infradead.org> <20180423215150.GI13383@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180423215150.GI13383@bombadil.infradead.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-04-23 14:51:50 -0700, Matthew Wilcox wrote: > How does this look? > > @@ -111,27 +111,22 @@ EXPORT_SYMBOL(errseq_set); > * errseq_sample() - Grab current errseq_t value. > * @eseq: Pointer to errseq_t to be sampled. > * > - * This function allows callers to sample an errseq_t value, marking it as > - * "seen" if required. > + * This function allows callers to initialise their errseq_t variable. > + * If the error has been "seen", new callers will not see an old error. > + * If there is an unseen error in @eseq, the caller of this function will > + * see it the next time it checks for an error. > * > + * Context: Any context. > * Return: The current errseq value. > */ > errseq_t errseq_sample(errseq_t *eseq) LGTM.