{"push_id":2606594848,"size":26,"distinct_size":26,"ref":"refs/heads/master","head":"f7fc27cb20924cc340a2a522655969253dd97ae9","before":"23df5de0d07028f31f017a0f80091ba158980742","commits":[{"sha":"b5e0ca64a44722b61657a0afdc153d48ec2919b9","author":{"name":"David Sterba","email":"a2ce9d316ca04d17b520237d2846a218b8284e52@suse.com"},"message":"btrfs-progs: sb-mod: add preliminary support for non-u64 types\n\nSigned-off-by: David Sterba <dsterba@suse.com>","distinct":true,"url":"https://api.github.com/repos/hhoffstaette/btrfs-progs/commits/b5e0ca64a44722b61657a0afdc153d48ec2919b9"},{"sha":"22d39a9e0f048b9241b0fc22e6ef2151da07cfb4","author":{"name":"David Sterba","email":"a2ce9d316ca04d17b520237d2846a218b8284e52@suse.com"},"message":"btrfs-progs: sb-mod: add csum_type\n\nLet SET and GET work on superblock::csum_type.\n\nSigned-off-by: David Sterba <dsterba@suse.com>","distinct":true,"url":"https://api.github.com/repos/hhoffstaette/btrfs-progs/commits/22d39a9e0f048b9241b0fc22e6ef2151da07cfb4"},{"sha":"e3ada5752c1d50ddcb8a0ee096382db155973dda","author":{"name":"David Sterba","email":"a2ce9d316ca04d17b520237d2846a218b8284e52@suse.com"},"message":"btrfs-progs: sb-mod: add compat bit to the recognized fields\n\nSigned-off-by: David Sterba <dsterba@suse.com>","distinct":true,"url":"https://api.github.com/repos/hhoffstaette/btrfs-progs/commits/e3ada5752c1d50ddcb8a0ee096382db155973dda"},{"sha":"0d4adfd33687619b524f30414eda18cd63bb0ec1","author":{"name":"Su Yue","email":"0427fdeecf044b6d6bad999e24bfaf20a7043daa@cn.fujitsu.com"},"message":"btrfs-progs: mkfs: return nozero value on thin provisioned device\n\nWith mkfs.btrfs on a thin provisioned device with very small backing\nsize and big virtual size, all code works well in mkfs.btrfs until\nclose_ctree() is called.\nclose_ctree() fails to sync device due to small backing size while\nclosing devices.  However, mkfs returns 0 in such situation which causes\nfailure of fstests generic/405.\n\nSo, let mkfs returns nonzero value if previous steps succeeded but\nclose_ctree() failed. Then fstests generic/405 passes now.\n\nSigned-off-by: Su Yue <suy.fnst@cn.fujitsu.com>\nReviewed-by: Qu Wenruo <wqu@suse.com>\nSigned-off-by: David Sterba <dsterba@suse.com>","distinct":true,"url":"https://api.github.com/repos/hhoffstaette/btrfs-progs/commits/0d4adfd33687619b524f30414eda18cd63bb0ec1"},{"sha":"6bcb03dda1f92ee50819748edb55c5a99820b1ed","author":{"name":"Gu Jinxiang","email":"420b7951ed8f19f91f0f02161dc2b891b14b4be3@cn.fujitsu.com"},"message":"btrfs-progs: send-utils: remove unused functions path_cat and path_cat3\n\nSince function path_cat and path_cat3 are not used anymore, remove them.\nThey have been reprecated since version 4.0.\n\nSigned-off-by: Gu Jinxiang <gujx@cn.fujitsu.com>\nSigned-off-by: David Sterba <dsterba@suse.com>","distinct":true,"url":"https://api.github.com/repos/hhoffstaette/btrfs-progs/commits/6bcb03dda1f92ee50819748edb55c5a99820b1ed"},{"sha":"de34a33a8204af9e675e5247c88eb727955beae1","author":{"name":"Nikolay Borisov","email":"142453373c3b88d8ff81b1a9e73f7ad113f58c91@suse.com"},"message":"btrfs-progs: Remove btrfs-debug-tree command\n\nThere is already a replacement in the face of btrfs inspect-internal\ndump-tree. And this command is just a simple wrapper around it. Just\nremove it and adjust the show-blocks script to call the main btrfs\nbinary to achieve the same effect.\n\nInformally deprecated since 4.4.\n\nIssue: #97\nSigned-off-by: Nikolay Borisov <nborisov@suse.com>\nSigned-off-by: David Sterba <dsterba@suse.com>","distinct":true,"url":"https://api.github.com/repos/hhoffstaette/btrfs-progs/commits/de34a33a8204af9e675e5247c88eb727955beae1"},{"sha":"df9158f20d8950b996a3e9b5a4ac0f9b2ea034d3","author":{"name":"Nikolay Borisov","email":"142453373c3b88d8ff81b1a9e73f7ad113f58c91@suse.com"},"message":"btrfs-progs: Remove deprecated btrfs-zero-log standalone tool\n\nIts function has been subsumed by \"btrfs rescue zero-log\". Remove its\nsource file and adjust make/tests soruces accordingly.\n\nDeprecated since 4.0.\n\nIssue: #97\nSigned-off-by: Nikolay Borisov <nborisov@suse.com>\nSigned-off-by: David Sterba <dsterba@suse.com>","distinct":true,"url":"https://api.github.com/repos/hhoffstaette/btrfs-progs/commits/df9158f20d8950b996a3e9b5a4ac0f9b2ea034d3"},{"sha":"5a87a95115a0f992ef4d3ef9ad480d8cf3bb27ec","author":{"name":"Nikolay Borisov","email":"142453373c3b88d8ff81b1a9e73f7ad113f58c91@suse.com"},"message":"btrfs-progs: Remove deprecated btrfs-show-super\n\nIts function has been superseded by btrfs inspect-internal show-super.\nFurthermore the tools is currently not built by default. Just remove it.\n\nDeprecated since 4.8.\n\nIssue: #97\nSigned-off-by: Nikolay Borisov <nborisov@suse.com>\nSigned-off-by: David Sterba <dsterba@suse.com>","distinct":true,"url":"https://api.github.com/repos/hhoffstaette/btrfs-progs/commits/5a87a95115a0f992ef4d3ef9ad480d8cf3bb27ec"},{"sha":"631bf9f2b9aab3ac84a2646b04dbe7ec303a7ef1","author":{"name":"Nikolay Borisov","email":"142453373c3b88d8ff81b1a9e73f7ad113f58c91@suse.com"},"message":"btrfs-progs: Remove deprecated btrfs-calc-size tool\n\nIts function has been superseded by btrfs inspect-internal tree-stats.\nJust remove it.\n\nDeprecated since 4.8.\n\nIssue: #97\nSigned-off-by: Nikolay Borisov <nborisov@suse.com>\nSigned-off-by: David Sterba <dsterba@suse.com>","distinct":true,"url":"https://api.github.com/repos/hhoffstaette/btrfs-progs/commits/631bf9f2b9aab3ac84a2646b04dbe7ec303a7ef1"},{"sha":"a5e29bbc1bad623dd1bdf5c9de3cb933ff525470","author":{"name":"Gu Jinxiang","email":"420b7951ed8f19f91f0f02161dc2b891b14b4be3@cn.fujitsu.com"},"message":"btrfs-progs: Let function find_device to be consistent with kernel\n\nMake find_device to be consistent with kernel according\n35c70103a528 (\"btrfs: refactor find_device helper\")\n\nAnd, modify the compare condition from both devid and uuid to\ndevid or devid and uuid according\n8f18cf13396c (\"Btrfs: Make the resizer work based on shrinking and growing devices\")\n\nSigned-off-by: Gu Jinxiang <gujx@cn.fujitsu.com>\nSigned-off-by: David Sterba <dsterba@suse.com>","distinct":true,"url":"https://api.github.com/repos/hhoffstaette/btrfs-progs/commits/a5e29bbc1bad623dd1bdf5c9de3cb933ff525470"},{"sha":"ef810bf0adb06e991ca16ea295f047e10288a802","author":{"name":"Gu Jinxiang","email":"420b7951ed8f19f91f0f02161dc2b891b14b4be3@cn.fujitsu.com"},"message":"btrfs-progs: Remove duplicate value-get for data_extents_scrubbed\n\nGet data_extents_scrubbed value for twice, since there is only\none data_extents_scrubbed in struct btrfs_scrub_progress, remove\nthe duplicate one.\n\nSigned-off-by: Gu Jinxiang <gujx@cn.fujitsu.com>\nSigned-off-by: David Sterba <dsterba@suse.com>","distinct":true,"url":"https://api.github.com/repos/hhoffstaette/btrfs-progs/commits/ef810bf0adb06e991ca16ea295f047e10288a802"},{"sha":"2777e53911c51e33cf689eccab285ec557f13b12","author":{"name":"Qu Wenruo","email":"668a4a6da3341b25f8dc67d6a1b3c7eba3092599@suse.com"},"message":"btrfs-progs: check: Skip data csum verification for metadata dump\n\nFor metadata dump (fs restored by btrfs-image), no data is restored\nand check sum verification will definitely report error.\n\nAdd such check in check_csums() and prompt for user input.\n\nIssue: #103\nSigned-off-by: Qu Wenruo <wqu@suse.com>\nReviewed-by: Nikolay Borisov <nborisov@suse.com>\nSigned-off-by: David Sterba <dsterba@suse.com>","distinct":true,"url":"https://api.github.com/repos/hhoffstaette/btrfs-progs/commits/2777e53911c51e33cf689eccab285ec557f13b12"},{"sha":"5f53c23e7676e9fafb78fa166e3f00e143b5a2c5","author":{"name":"Qu Wenruo","email":"668a4a6da3341b25f8dc67d6a1b3c7eba3092599@suse.com"},"message":"btrfs-progs: tests/fsck: Add test case to check if btrfs check can skip data csum verfication for metadata dump\n\nSigned-off-by: Qu Wenruo <wqu@suse.com>\nSigned-off-by: David Sterba <dsterba@suse.com>","distinct":true,"url":"https://api.github.com/repos/hhoffstaette/btrfs-progs/commits/5f53c23e7676e9fafb78fa166e3f00e143b5a2c5"},{"sha":"a5ef445f05fb077736d47624e31b9f6c7bbb0f1b","author":{"name":"Gu Jinxiang","email":"420b7951ed8f19f91f0f02161dc2b891b14b4be3@cn.fujitsu.com"},"message":"btrfs-progs: Do not add extra slash if given path end with it\n\nWhen use a given path end with a slash like below,\nthe output of path will have double slash.\n\nDo not add extra slash if there is already one in the given\npath.\n\n$ btrfs filesystem du ./test/\noutput:\nTotal   Exclusive  Set shared  Filename\n0.00B       0.00B           -  /home/gujx/device/tmp/test//foo\n\nSigned-off-by: Gu Jinxiang <gujx@cn.fujitsu.com>\nSigned-off-by: David Sterba <dsterba@suse.com>","distinct":true,"url":"https://api.github.com/repos/hhoffstaette/btrfs-progs/commits/a5ef445f05fb077736d47624e31b9f6c7bbb0f1b"},{"sha":"98d5d325a887b6c061096c141eef10755762bbcf","author":{"name":"Qu Wenruo","email":"668a4a6da3341b25f8dc67d6a1b3c7eba3092599@suse.com"},"message":"btrfs-progs: extent_io: Fix NULL pointer dereference in free_extent_buffer_final()\n\nIn free_extent_buffer_final() we access eb->tree->cache_size in\nBUG_ON().  However eb->tree can be NULL if it's a cloned extent buffer.\n\nCurrently the cloned extent buffer is only used in backref.c,\npaths_from_inode() function.  Thankfully that function is not used yet\n(but could be pretty useful to convert inode number to path, so I'd like\nto keep such function).\n\nAnyway, check eb->tree before accessing its member.\n\nSigned-off-by: Qu Wenruo <wqu@suse.com>\nReviewed-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>\nSigned-off-by: David Sterba <dsterba@suse.com>","distinct":true,"url":"https://api.github.com/repos/hhoffstaette/btrfs-progs/commits/98d5d325a887b6c061096c141eef10755762bbcf"},{"sha":"43dea2af140fe21111e7ce8491cad2724d73b2d4","author":{"name":"Qu Wenruo","email":"668a4a6da3341b25f8dc67d6a1b3c7eba3092599@suse.com"},"message":"btrfs-progs: extent_io: Init eb->lru to avoid NULL pointer dereference\n\neb->lru is not initialized in __alloc_extent_buffer(), so in the\nfollowing call chain, it could call NULL pointer dereference:\n\nbtrfs_clone_extent_buffer()\n|- __alloc_extent_buffer()\n   |- Now eb->lru is NULL (not initialized)\n\nfree_extent_buffer_final()\n|- list_del_init(&eb->lru)\n\nThankfully, current btrfs-progs won't trigger such bug as the only\nbtrfs_clone_extent_buffer() user is paths_from_inode(), which is not\nused by anyone.\n(But due to the usefulness of that function in future offline scrub, I'd\nlike to keep this dead code.)\n\nAnyway, initialize eb->lru in __alloc_extent_bufer() bring no harm.\n\nSigned-off-by: Qu Wenruo <wqu@suse.com>\nReviewed-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>\nSigned-off-by: David Sterba <dsterba@suse.com>","distinct":true,"url":"https://api.github.com/repos/hhoffstaette/btrfs-progs/commits/43dea2af140fe21111e7ce8491cad2724d73b2d4"},{"sha":"f96ca97fb451801d899650a4d03f6a96fa8c59fb","author":{"name":"Qu Wenruo","email":"668a4a6da3341b25f8dc67d6a1b3c7eba3092599@suse.com"},"message":"btrfs-progs: extent_io: Refactor alloc_extent_buffer() to follow kernel parameters\n\nInstead of using the internal struct extent_io_tree, use struct fs_info.\n\nThis does not only unify the interface between kernel and btrfs-progs,\nbut also makes later btrfs_print_tree() use fewer parameters.\n\nSigned-off-by: Qu Wenruo <wqu@suse.com>\nReviewed-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>\nSigned-off-by: David Sterba <dsterba@suse.com>","distinct":true,"url":"https://api.github.com/repos/hhoffstaette/btrfs-progs/commits/f96ca97fb451801d899650a4d03f6a96fa8c59fb"},{"sha":"47c694b0f4afa4fabf1a2013b9f9514a832898f7","author":{"name":"Qu Wenruo","email":"668a4a6da3341b25f8dc67d6a1b3c7eba3092599@suse.com"},"message":"btrfs-progs: Unify btrfs_leaf_free_space() parameter with kernel\n\nInstead of struct btrfs_root, use struct btrfs_fs_info, since nodesize\nis now a per-fs setting, and with the need to pass a @root, caller don't\nneed to wonder which root should be passed.\n\nSigned-off-by: Qu Wenruo <wqu@suse.com>\nReviewed-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>\nSigned-off-by: David Sterba <dsterba@suse.com>","distinct":true,"url":"https://api.github.com/repos/hhoffstaette/btrfs-progs/commits/47c694b0f4afa4fabf1a2013b9f9514a832898f7"},{"sha":"26c1dafbf60182610744bba427583c0fdd8d0327","author":{"name":"Qu Wenruo","email":"668a4a6da3341b25f8dc67d6a1b3c7eba3092599@suse.com"},"message":"btrfs-progs: print-tree: Remove btrfs_root parameter\n\nJust like kernel cleanup made by David, btrfs_print_leaf() and\nbtrfs_print_tree() doesn't need btrfs_root parameter at all.\n\nWith previous patches as preparation, now we can remove the btrfs_root\nparameter.\n\nSigned-off-by: Qu Wenruo <wqu@suse.com>\nReviewed-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>\nSigned-off-by: David Sterba <dsterba@suse.com>","distinct":true,"url":"https://api.github.com/repos/hhoffstaette/btrfs-progs/commits/26c1dafbf60182610744bba427583c0fdd8d0327"},{"sha":"944974b4854e3f274e1beaa8165765eb385d8558","author":{"name":"David Sterba","email":"a2ce9d316ca04d17b520237d2846a218b8284e52@suse.com"},"message":"btrfs-progs: reorder extent buffer members for better packing\n\nAfther the fs_info was added, the size was over 128 bytes but we still\nhave 8 bytes of holes, so with minor reordering we get back to that size.\n\nBefore:\n\nstruct extent_buffer {\n        struct cache_extent        cache_node;           /*     0    48 */\n        u64                        start;                /*    48     8 */\n        u64                        dev_bytenr;           /*    56     8 */\n        /* --- cacheline 1 boundary (64 bytes) --- */\n        u32                        len;                  /*    64     4 */\n\n        /* XXX 4 bytes hole, try to pack */\n\n        struct extent_io_tree *    tree;                 /*    72     8 */\n        struct list_head           lru;                  /*    80    16 */\n        struct list_head           recow;                /*    96    16 */\n        int                        refs;                 /*   112     4 */\n        u32                        flags;                /*   116     4 */\n        int                        fd;                   /*   120     4 */\n\n        /* XXX 4 bytes hole, try to pack */\n\n        /* --- cacheline 2 boundary (128 bytes) --- */\n        struct btrfs_fs_info *     fs_info;              /*   128     8 */\n        char                       data[0];              /*   136     0 */\n\n        /* size: 136, cachelines: 3, members: 12 */\n        /* sum members: 128, holes: 2, sum holes: 8 */\n        /* last cacheline: 8 bytes */\n};\n\nAfter:\n\nstruct extent_buffer {\n        struct cache_extent        cache_node;           /*     0    48 */\n        u64                        start;                /*    48     8 */\n        u64                        dev_bytenr;           /*    56     8 */\n        /* --- cacheline 1 boundary (64 bytes) --- */\n        struct extent_io_tree *    tree;                 /*    64     8 */\n        struct list_head           lru;                  /*    72    16 */\n        struct list_head           recow;                /*    88    16 */\n        u32                        len;                  /*   104     4 */\n        int                        refs;                 /*   108     4 */\n        u32                        flags;                /*   112     4 */\n        int                        fd;                   /*   116     4 */\n        struct btrfs_fs_info *     fs_info;              /*   120     8 */\n        /* --- cacheline 2 boundary (128 bytes) --- */\n        char                       data[0];              /*   128     0 */\n\n        /* size: 128, cachelines: 2, members: 12 */\n};\n\nSigned-off-by: David Sterba <dsterba@suse.com>","distinct":true,"url":"https://api.github.com/repos/hhoffstaette/btrfs-progs/commits/944974b4854e3f274e1beaa8165765eb385d8558"}]}
{"actor":{"display_login":"hhoffstaette"}}