Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp790063ybv; Wed, 5 Feb 2020 14:44:22 -0800 (PST) X-Google-Smtp-Source: APXvYqxOt0OrA7ZNC47OJAYADlzogJIlPHAAbpEi+fHjnT6FpjFPyV+P9fd3qnxKk/9eXWsiTIVb X-Received: by 2002:a05:6830:1db3:: with SMTP id z19mr28564159oti.292.1580942661907; Wed, 05 Feb 2020 14:44:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580942661; cv=none; d=google.com; s=arc-20160816; b=bw4YC1iGLXDVXSt1z1UA8hFBO4uDeMUPH/bgKNDRft1YcPORU1rbxZUtMGR/Ekkwum N8LmrU9pKoMMvugteJ263NjWK7RYqdSsp4kRczcsAA/h4icSVNOkeES5fotS7w1s6E2x 7wAgU1Mdo1dvtllSqnetabwk+biMgKwUfApKos+SvwmN0MixfgvTMVCgrAUw6GCz5D+X Ccew2yLt6wry8ZIOqykTv9lYvKYJC2djOf3N0lbTTlJjeODAsD4AAJDaYj3BL7L2VRbd zI8+kdP7cbuONGyMGeIArDRafX56fden3nF3UZ0L0LW25sq18mTDbEqZ7+lFVEBDmz5V PMRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=ULOZF+qf0v+lhAOzg/UVQyi5/QJ0aXAUMlMCZYmCcC8=; b=q/mtkYtoOw1bF0MPq1RXVLb8udEr1z16Re7r+ugsccDNKG6IUver5FjVimFDOgE7vU tlxVhhe/zubtX940Dqd0yOvIeoZfC7uSQjugTIcw2sLSrvRpHRxN7ZeRYmhsnX4Exvbl PDFiidTflWR6v8mwk44iY/6OD+C4vxs+/WaEB0iZLSF7l0ZJXZ9mtFwb9Yy64TvLapW4 VkbuxeInrRTPq/p2gz+4c9Dqo3RPkOZ1RhvuGky0WUDL3cmJp97rU/j4WwBProXCVmua YVPUMy8191qnfDzEIhK7ChPLny6mb92KmNouJJZZSXjbHDhE7IrDVyuxggOpCmm7UUiG rlpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=v+bTsd3S; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t127si1002715oih.45.2020.02.05.14.44.09; Wed, 05 Feb 2020 14:44:21 -0800 (PST) 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=@kernel.org header.s=default header.b=v+bTsd3S; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727598AbgBEWnG (ORCPT + 99 others); Wed, 5 Feb 2020 17:43:06 -0500 Received: from mail.kernel.org ([198.145.29.99]:59120 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727493AbgBEWnF (ORCPT ); Wed, 5 Feb 2020 17:43:05 -0500 Received: from localhost (c-67-169-218-210.hsd1.or.comcast.net [67.169.218.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 65D72214AF; Wed, 5 Feb 2020 22:43:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580942584; bh=nn5r09JSEA69HqCVsbRn5ZRAKkatyDwlsdVsj6TXSvg=; h=Date:From:To:Cc:Subject:From; b=v+bTsd3SYSOG83+82drqx4QCsD7STR7LWPil9yz8osY3LqRWEK7Xn4uw3r87HI2ib JC7qWCSMlB6+ZxzIkB79R3eGP4IZ+MSSpijveIabqAbwd3sbBy+ODSLE8R3q4sxdjo BhB3Wreljh++Fzh07OMNhpp5qn9InM8a999FMkYs= Date: Wed, 5 Feb 2020 14:43:04 -0800 From: "Darrick J. Wong" To: Linus Torvalds Cc: "Darrick J. Wong" , linux-fsdevel@vger.kernel.org, linux-xfs@vger.kernel.org, david@fromorbit.com, linux-kernel@vger.kernel.org, sandeen@sandeen.net, hch@lst.de Subject: [GIT PULL] xfs: moar new code for 5.6 Message-ID: <20200205224303.GF6870@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Please pull this second batch of new changes for 5.6-rc1. This contains the buffer error code refactoring I mentioned last week, now that it has had extra time to complete the full xfs fuzz testing suite to make sure there aren't any obvious new bugs. This merges cleanly against upstream as of about 15 minutes ago. Note that the -merge-7 and -merge-8 tags both point to the same ten day old commit; the message attached to -8 reflects only the changes since last week's pull. Please let me know if anything odd happens during the merge, though it should be clean. --D The following changes since commit b3531f5fc16d4df2b12567bce48cd9f3ab5f9131: xfs: remove unused variable 'done' (2020-01-23 21:24:50 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/xfs-5.6-merge-8 for you to fetch changes up to cdbcf82b86ea24aa942991b4233cd8ddf13f590c: xfs: fix xfs_buf_ioerror_alert location reporting (2020-01-26 14:32:27 -0800) ---------------------------------------------------------------- (More) new code for 5.6: - Refactor the metadata buffer functions to return the usual int error value instead of the open coded error checking mess we have now. ---------------------------------------------------------------- Darrick J. Wong (12): xfs: make xfs_buf_alloc return an error code xfs: make xfs_buf_get_map return an error code xfs: make xfs_buf_read_map return an error code xfs: make xfs_buf_get return an error code xfs: make xfs_buf_get_uncached return an error code xfs: make xfs_buf_read return an error code xfs: make xfs_trans_get_buf_map return an error code xfs: make xfs_trans_get_buf return an error code xfs: remove the xfs_btree_get_buf[ls] functions xfs: make xfs_*read_agf return EAGAIN to ALLOC_FLAG_TRYLOCK callers xfs: remove unnecessary null pointer checks from _read_agf callers xfs: fix xfs_buf_ioerror_alert location reporting fs/xfs/libxfs/xfs_ag.c | 21 +++--- fs/xfs/libxfs/xfs_alloc.c | 51 ++++++------- fs/xfs/libxfs/xfs_attr_remote.c | 22 ++---- fs/xfs/libxfs/xfs_bmap.c | 25 ++++--- fs/xfs/libxfs/xfs_btree.c | 45 +---------- fs/xfs/libxfs/xfs_btree.h | 21 ------ fs/xfs/libxfs/xfs_da_btree.c | 8 +- fs/xfs/libxfs/xfs_ialloc.c | 12 +-- fs/xfs/libxfs/xfs_refcount.c | 6 -- fs/xfs/libxfs/xfs_sb.c | 17 +++-- fs/xfs/scrub/agheader_repair.c | 4 - fs/xfs/scrub/fscounters.c | 3 - fs/xfs/scrub/repair.c | 10 ++- fs/xfs/xfs_attr_inactive.c | 17 +++-- fs/xfs/xfs_buf.c | 161 ++++++++++++++++++++++++---------------- fs/xfs/xfs_buf.h | 33 ++++---- fs/xfs/xfs_buf_item.c | 2 +- fs/xfs/xfs_discard.c | 2 +- fs/xfs/xfs_dquot.c | 8 +- fs/xfs/xfs_filestream.c | 11 ++- fs/xfs/xfs_inode.c | 12 +-- fs/xfs/xfs_log_recover.c | 30 +++----- fs/xfs/xfs_reflink.c | 2 - fs/xfs/xfs_rtalloc.c | 8 +- fs/xfs/xfs_symlink.c | 37 +++------ fs/xfs/xfs_trans.h | 14 ++-- fs/xfs/xfs_trans_buf.c | 61 ++++++--------- 27 files changed, 278 insertions(+), 365 deletions(-)