From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from aserp2120.oracle.com ([141.146.126.78]:43800 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725803AbeJILea (ORCPT ); Tue, 9 Oct 2018 07:34:30 -0400 Subject: [PATCH v4 0/3] xfs-4.20: scrub fixes From: "Darrick J. Wong" Date: Mon, 08 Oct 2018 21:19:28 -0700 Message-ID: <153905876877.10127.12478254551500076698.stgit@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-xfs-owner@vger.kernel.org List-ID: List-Id: xfs To: david@fromorbit.com, darrick.wong@oracle.com Cc: linux-xfs@vger.kernel.org, bfoster@redhat.com Hi all, Here are a few online fsck fixes for 4.20. The first patch fixes the online repair "find AG btree root" function to ignore btree blocks that have siblings and to ignore a btree level if multiple sibling-less blocks are found. The second patch strengthens the buffer read functions to apply buffer ops (and verify the buffer contents) any time a caller tries to read a buffer with a given set of ops and the buffer doesn't have ops yet. The third patch fixes some buffer state management bugs so that we don't accidentally clobber b_ops on buffers that were already in-core when we try to find an AG header's btree root blocks. Comments and questions are, as always, welcome. --D