Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp593941pxb; Thu, 5 Nov 2020 08:03:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwj8TLrgg0DgPHLeEwaIydJrmJhrlK3NabBz+GmhYjGf/DKM41y3HM3qz+Dp6pD2vp7lIOe X-Received: by 2002:a17:906:c1cf:: with SMTP id bw15mr2984447ejb.70.1604592232636; Thu, 05 Nov 2020 08:03:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604592232; cv=none; d=google.com; s=arc-20160816; b=HAzHwayv3DL0y1s97PZ87I2fBKUVtqBV2pAmMa0uDShaC+ct3H7inE1H2Q4923lOvw SabK/uY63zpCICbJJC7WgrFbmWY14IplbR8kicOKMWZDbsZmu4ojBJcn1MXNUNSlkZaI uSN9NmmwRZTPz50idfxFMLShQMWf0DB9KBjeb6kW1lBrcX8Rf4iemBz+ptiGFIV7hNnI rAbPG3pvo/GdBppchLUHlxe0MxYepVWtx5qwmK9YnInM54PeKk3rtkKwIKhsfWkbUFfU y062RkQ7ZRoybTEwTRyRtWqj9NoG/KzCjUjkOuVGvlsNuG3rQKkzmAnROUmibfFxaL5+ NAQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=rLThOPXKIwNo2OJAxZQtS2as82b92rbvpNs/8J7TzUQ=; b=ejZ36LYfrP8TUlK3POWl5eBQK56w4HvdqqvOglh7BdVB91EvQ6p/QA85OCS4yzwn5v p4eOoE41560HeHzywfkJEaV/u9AozINldXI0+XLbKUvsDJmjMnduS7Xp9rKInT+XY66P U+XxWhHHtJiw8K3UzSaT5Fw6SUoBx/7cwuMCkk+6gAayS6njYGlq/ui5Gn6LgO/9/7hZ 2kEN+kBpDgUojUcaS1VPIHVZbef/BK2IHt2Sz0kSGWd4zJO340lGNIfL62g8iCx7gW/2 peIMWb/X+GpTr2j65086BY6//Ae0RA9MA53Y+iPIxEt6/WWGgriH6VBFKjSkyEtnQnww +qLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=bNXNQb2e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 33si1452531edq.238.2020.11.05.08.03.26; Thu, 05 Nov 2020 08:03:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=bNXNQb2e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731203AbgKEQBt (ORCPT + 99 others); Thu, 5 Nov 2020 11:01:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725308AbgKEQBs (ORCPT ); Thu, 5 Nov 2020 11:01:48 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACCADC0613CF; Thu, 5 Nov 2020 08:01:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=rLThOPXKIwNo2OJAxZQtS2as82b92rbvpNs/8J7TzUQ=; b=bNXNQb2ePw8Wm/CDkfDBU9fCEw 0+Jecahd0Jq1vhI5x0j38zpnS6M9HzQYoDeKs8+G4AAhxit2CobkzNNN3ef7RPxuFvk8AQ3FaQNqo CiNFGvzzLcHiSbiDiSzJLtlt3cLoI6ObH74D7CinKfd5hFhb6R9pugxc34nvVg+shCzR8cerhjM1w 1Ky231OOuhnUyvraqCSl7vkpCE938UQFUZEwZAW5rJb8Mt+fnm3Gk7rhRpz8k3yxouLmiYARv3hLv Z3CfLORlCNZ5f2vDgqyVgoRZawrlzsZK75Jgn5dFtTT6MKtBwWHEEGhXCj5fXzJl5rha7evGRM/bJ hrQENEjw==; Received: from willy by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kahhr-0002yr-9H; Thu, 05 Nov 2020 16:01:47 +0000 Date: Thu, 5 Nov 2020 16:01:47 +0000 From: Matthew Wilcox To: Kent Overstreet Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: bcachefs-for-review Message-ID: <20201105160147.GO17076@casper.infradead.org> References: <20201027200433.GA449905@moria.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201027200433.GA449905@moria.home.lan> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 27, 2020 at 04:04:33PM -0400, Kent Overstreet wrote: > Here's where bcachefs is at and what I'd like to get merged: > > https://evilpiepirate.org/git/bcachefs.git/log/?h=bcachefs-for-review When building for x86-32 (ie make allnoconfig, enable BLOCK, enable BCACHEFS): ../fs/bcachefs/util.h:40: warning: "memcpy" redefined 40 | #define memcpy(dst, src, len) \ ../arch/x86/include/asm/string_32.h:182: note: this is the location of the previous definition 182 | #define memcpy(t, f, n) __builtin_memcpy(t, f, n) In function ‘journal_seq_copy’, inlined from ‘__bch2_create’ at ../fs/bcachefs/fs.c:291:3: ../arch/x86/include/asm/cmpxchg.h:128:3: error: call to ‘__cmpxchg_wrong_size’ declared with attribute error: Bad argument size for cmpxchg which comes from: ../fs/bcachefs/fs.c:52:16: note: in expansion of macro ‘cmpxchg’ 52 | } while ((v = cmpxchg(&dst->ei_journal_seq, old, journal_seq)) != old); ... and similar problems elsewhere in fs.c.