From patchwork Wed Jul 12 21:10:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kent Overstreet X-Patchwork-Id: 11946 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp1418735vqm; Wed, 12 Jul 2023 14:13:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlGvKhfRG5UHPN0cPLyMGwkptXLbrimzk1gM/X237D5OPXScvduZWpduu9cQw1fGN1yljvde X-Received: by 2002:a05:6a20:7485:b0:130:d5a:e413 with SMTP id p5-20020a056a20748500b001300d5ae413mr19701422pzd.6.1689196414513; Wed, 12 Jul 2023 14:13:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689196414; cv=none; d=google.com; s=arc-20160816; b=d9m9qTwStA+1uKTVt/r++SR/bLGKk3C5/dOiv/fSobB+nBpVPs44GQBdf/QYzZ5M/M E2O1RydFnnexBlMajd1va9TDFTRV+hQj767fZjTlSVPobIpUIVLoZKEa60Il8+QFHK5A 58qYeDoBRgRyZaXSGPJn6kteim+tsN1OhMGg4v+LwtSWc8lLAmRtHBqOfE1IRCG8rzGv MaScRVGh3wAIqm3aVPoZhJQktQS/N8au8DPKunHysI6TStV5kVXSDlDW48Izpot44JZI r+YcncGJyTEkV0MUiT1F1s2KZBzTZVQKEtjVQCaK/Kxb6UmFtbWbbDauOKY+h69Z7DOX qMIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=u9jA0zpqdPJBbT5wB3LqkWWTOFZva2WMc7PqpBsNmzQ=; fh=hlfPiP3mSNcMUH7m+rGSJ6gyLoR35OUgPiMhVneogvk=; b=EXeLmIlb6PWBx4VS5PrUMpfBDvwCSUDh/GyiLy5SjjtYCtA2zJMALEwpihgqSX+cP2 rqJpivfj8ChfhKwWRUvSXB8A4W+gRopvfIOMgt+XG6CJ3Bon+BwPabaJNtFLkfn56P+j 1DtEj1jInXHAQ+auIps+BVpUrfd212cKIQWW79WNjGdSwRUxnEQoSC73hAWrZG1u/6O9 wvEMk3A2Z1hoY0IemF0/pwsGYlnvIgO1xNsy+GRWHMdljuQ88iTlWdo0PJmr9qih2oio Bj/Rp2xx6btlZu4K7FDVpzT+ggDHzQI1xg5Duuz1iEtJXU1hhTL/kEx9YXxCtkSlkrFH iK/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="tSLj/iB1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r23-20020a63d917000000b00542b4a6d7dcsi3618448pgg.770.2023.07.12.14.13.18; Wed, 12 Jul 2023 14:13:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="tSLj/iB1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232615AbjGLVLm (ORCPT + 99 others); Wed, 12 Jul 2023 17:11:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232475AbjGLVLi (ORCPT ); Wed, 12 Jul 2023 17:11:38 -0400 Received: from out-32.mta1.migadu.com (out-32.mta1.migadu.com [IPv6:2001:41d0:203:375::20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 675C21FDB for ; Wed, 12 Jul 2023 14:11:32 -0700 (PDT) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1689196288; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=u9jA0zpqdPJBbT5wB3LqkWWTOFZva2WMc7PqpBsNmzQ=; b=tSLj/iB1E2XayW0N3mOTONapZTzp/4UfRR0E5j3/6A3V2t4u7ivSoQSbHNb+svKCKD4FCe I8rMoF/S3ae3TCwK/RkwpG8Vqd7x2yTIOckqVCWwGAg+uIL1WvDnBVcA85Ni7O7x8SlDqQ yn6dVoHYjl4guXv28aEzEkCOvrpjdYc= From: Kent Overstreet To: linux-bcachefs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Kent Overstreet Subject: [PATCH 00/20] bcachefs prereqs patch series Date: Wed, 12 Jul 2023 17:10:55 -0400 Message-Id: <20230712211115.2174650-1-kent.overstreet@linux.dev> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771250819726862189 X-GMAIL-MSGID: 1771250819726862189 Here's the latest iteration of the bcachefs prereqs patch series, now hoping to go in for 6.6. https://lore.kernel.org/linux-bcachefs/20230712195719.y4msidsr7suu55gl@moria.home.lan/T/ This is now slimmed down as much has I can. I've droped the lockdep patches, at the cost of dropping lockdep support for btree node locks. Six locks and mean_and_variance are now in fs/bcachefs/. My copy_folio_from_iter_atomic() patch has been dropped in favor of the iov_iter patch from Matthew, which he said he'd likely send for -rc4, so will already be in by the time of the actual bcachefs pull request. Christopher James Halse Rogers (1): stacktrace: Export stack_trace_save_tsk Kent Overstreet (18): sched: Add task_struct->faults_disabled_mapping fs: factor out d_mark_tmpfile() block: Add some exports for bcachefs block: Allow bio_iov_iter_get_pages() with bio->bi_bdev unset block: Bring back zero_fill_bio_iter block: Don't block on s_umount from __invalidate_super() lib/string_helpers: string_get_size() now returns characters wrote lib: Export errname locking/osq: Export osq_(lock|unlock) bcache: move closures to lib/ MAINTAINERS: Add entry for closures closures: closure_wait_event() closures: closure_nr_remaining() closures: Add a missing include MAINTAINERS: Add entry for generic-radix-tree lib/generic-radix-tree.c: Don't overflow in peek() lib/generic-radix-tree.c: Add a missing include lib/generic-radix-tree.c: Add peek_prev() Matthew Wilcox (Oracle) (1): iov_iter: Handle compound highmem pages in copy_page_from_iter_atomic() MAINTAINERS | 15 ++++ block/bdev.c | 2 +- block/bio.c | 18 +++-- block/blk-core.c | 1 + block/blk.h | 1 - drivers/md/bcache/Kconfig | 10 +-- drivers/md/bcache/Makefile | 4 +- drivers/md/bcache/bcache.h | 2 +- drivers/md/bcache/super.c | 1 - drivers/md/bcache/util.h | 3 +- fs/dcache.c | 12 ++- fs/super.c | 40 +++++++--- include/linux/bio.h | 7 +- include/linux/blkdev.h | 1 + .../md/bcache => include/linux}/closure.h | 46 ++++++++--- include/linux/dcache.h | 1 + include/linux/fs.h | 1 + include/linux/generic-radix-tree.h | 68 ++++++++++++++++- include/linux/sched.h | 1 + include/linux/string_helpers.h | 4 +- init/init_task.c | 1 + kernel/locking/osq_lock.c | 2 + kernel/stacktrace.c | 2 + lib/Kconfig | 3 + lib/Kconfig.debug | 9 +++ lib/Makefile | 2 + {drivers/md/bcache => lib}/closure.c | 36 +++++---- lib/errname.c | 1 + lib/generic-radix-tree.c | 76 ++++++++++++++++++- lib/iov_iter.c | 43 +++++++---- lib/string_helpers.c | 10 ++- 31 files changed, 333 insertions(+), 90 deletions(-) rename {drivers/md/bcache => include/linux}/closure.h (93%) rename {drivers/md/bcache => lib}/closure.c (88%)