{"id":809308,"url":"http://patchwork.ozlabs.org/api/1.0/covers/809308/?format=json","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.0/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<20170903150031.18179-1-marek.behun@nic.cz>","date":"2017-09-03T15:00:22","name":"[U-Boot,0/9] Add single-device read-only BTRFS support","submitter":{"id":71605,"url":"http://patchwork.ozlabs.org/api/1.0/people/71605/?format=json","name":"Marek Behún","email":"marek.behun@nic.cz"},"series":[{"id":1246,"url":"http://patchwork.ozlabs.org/api/1.0/series/1246/?format=json","date":"2017-09-03T15:00:25","name":"Add single-device read-only BTRFS support","version":1,"mbox":"http://patchwork.ozlabs.org/series/1246/mbox/"}],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tsecure) header.d=nic.cz header.i=@nic.cz header.b=\"ZQhgoZyK\"; \n\tdkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xlbnf0TDCz9t2y\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon,  4 Sep 2017 01:03:02 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid B25B5C21E8C; Sun,  3 Sep 2017 15:01:58 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 3BC54C21E1C;\n\tSun,  3 Sep 2017 15:01:36 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 9DAB5C21DBD; Sun,  3 Sep 2017 15:01:33 +0000 (UTC)","from mail.nic.cz (mail.nic.cz [217.31.204.67])\n\tby lists.denx.de (Postfix) with ESMTPS id 3BADDC21C4F\n\tfor <u-boot@lists.denx.de>; Sun,  3 Sep 2017 15:01:33 +0000 (UTC)","from dellmb.labs.office.nic.cz (unknown\n\t[IPv6:2001:1488:fffe:6:8982:ed8c:62b1:c0c8])\n\tby mail.nic.cz (Postfix) with ESMTP id D41D96178F;\n\tSun,  3 Sep 2017 17:01:32 +0200 (CEST)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default;\n\tt=1504450892; bh=48fwLr/9X5xIL9VPFdTa/PwcLJCUM1qUs+K7JSOttFk=;\n\th=From:To:Date;\n\tb=ZQhgoZyKdUSUxRZVaTzycoaYc+3wSQkkg6WdVFj8K1N9MZjKICRW4nz8FrNwnsdNh\n\tHgFYFF//P7N+aJCSU+hI/bdQgT4n/l/6jMkph1XEoHGjmc3qe6WHBuitXMav7NmV1H\n\toLAkgKEddlaATBsOWUDZ6PSsKdBvTXmr++Zm1IPk=","From":"=?utf-8?q?Marek_Beh=C3=BAn?= <marek.behun@nic.cz>","To":"u-boot@lists.denx.de","Date":"Sun,  3 Sep 2017 17:00:22 +0200","Message-Id":"<20170903150031.18179-1-marek.behun@nic.cz>","X-Mailer":"git-send-email 2.13.5","MIME-Version":"1.0","X-Virus-Scanned":"clamav-milter 0.99.2 at mail","X-Virus-Status":"Clean","Cc":"Tomas Hlavacek <tomas.hlavacek@nic.cz>, Stefan Roese <sr@denx.de>,\n\t=?utf-8?q?Andreas_F=C3=A4rber?= <afaerber@suse.de>","Subject":"[U-Boot] [PATCH 0/9] Add single-device read-only BTRFS support","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"This is the first version of patches for adding a single-device\nread-only BTRFS support to U-Boot.\n\nCompression (zlib/lzo) is supported.\nData checksumming is unimplemented.\n\nThe code was tested on the Turris Omnia router, where BTRFS is\nused as the main filesystem from which kernel and device-tree\nare loaded.\n\nThe first patch adds the CRC32-C hash routine.\n\nThe second patch generalizes the ext4fs_devread, reiserfs_devread\nand zfs_devread functions into one fs_devread and puts it into\nfs/fs_internal.c.\n\nThe third patch creates a header variadic-macro.h containing\na variadic macro CALL_MACRO_FOR_EACH, which expands to a call\nto the macro specified by the first argument to all its subsequent\narguments. This is used in my code for defining functions to\nconvert the BTRFS data structures to/from CPU/disk format.\n\nThe fourth patch adds the btrfs_tree.h and ctree.h files\ncontaining constants and structures definitions for BTRFS from\nLinux.\n\nThe fifth patch adds the code for conversion of BTRFS data\nstructures to/from CPU/disk format.\n\nThe sixth patch adds the proper BTRFS code.\n\nThe seventh patch adds U-Boot fs handlers.\n\nThe eighth patch adds the 'btrsubvol' command to list BTRFS\nsubvolumes.\n\nThe nineth patch adds CONFIG_CMD_BTRFS into the defconfig for\nTurris Omnia.\n\nTested-by: Marek Behun <marek.behun@nic.cz>\nSigned-off-by: Marek Behun <marek.behun@nic.cz>"}