GitHub PushEvent at 2014-09-02 12:30:08
Repository: btrfs-progs
Actor: kdave
Payload: {"shas":[["b81dd800fccc62754d1801a6c118ec7f629b0355","f41a7033a6382ce00d6b717e37d942dbe3c9a107@cn.fujitsu.com","btrfs-progs: Improve the errno string about open_path_or_dev_mnt()\n\nopen_path_or_dev_mnt() is used to on *mounted* btrfs device or mount\npoint, when a unmounted btrfs device is passed, errno is set to EINVAL to\ninfo the caller.\nIf ignore the errno and just print \"ERROR: can't access '%s'\", end users\nwill get confused.\n\nThis patch will add check for open_path_or_dev_mnt() caller and print\nmore meaningful error message when a unmounted btrfs device path is\ngiven.\n\nSigned-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>\nSigned-off-by: David Sterba <dsterba@suse.cz>","Qu Wenruo",false],["7e47c6d32933cc68aadb9a00072fe24500c6d5e5","f41a7033a6382ce00d6b717e37d942dbe3c9a107@cn.fujitsu.com","btrfs-progs: Replace the overkill assert with normal error message.\n\nWhen 'btrfs replace status' encounters an unknown dev replace status, it\nwill cause an assert, which is somewhat overkilled and can be replaced\nwith a normal error message.\n\nSigned-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>\nSigned-off-by: David Sterba <dsterba@suse.cz>","Qu Wenruo",false],["95586648c0c5c32a2e0d0dfd1120c1c72ccb5417","f41a7033a6382ce00d6b717e37d942dbe3c9a107@cn.fujitsu.com","btrfs-progs: Remove unneeded assert in find_good_parent().\n\nfind_good_parent() uses assert to deal with the problem that clone\nsource's parent can't be found.\nBut in fact the assert is somewhat overkilled since subvol_uuid_search()\nhas enough error messages for debug and caller of find_good_parent() can\nhandle the problems in find_good_parent(), so the assert can be removed\nwithout any problem.\n\nSigned-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>\nSigned-off-by: David Sterba <dsterba@suse.cz>","Qu Wenruo",false],["bddb8e0fd7b1502945772b2c4717def1ca30ea2e","1c5d69841cd43aa5bd620389a9dfe310c76cb958@cn.fujitsu.com","btrfs-progs: add sys_chunk_array and backup roots info to show-super\n\nAdd sys chunk array and backup roots info if the new option '-f'\nif specified.\nThis may be useful for debugging sys_chunk related issues.\n\nSigned-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com>\nSigned-off-by: David Sterba <dsterba@suse.cz>","Gui Hecheng",false],["da65695cc5f600c0f70efefd36c87d229e1ed3b4","1c5d69841cd43aa5bd620389a9dfe310c76cb958@cn.fujitsu.com","btrfs-progs: use check_argc_exact to check arg number of btrfs-rescue\n\nThe btrfs-rescue accepts exactly one arg for both\nchunk-recover & super-recover, use check_argc_exact clearly.\n\nSigned-off-by: David Sterba <dsterba@suse.cz>","Gui Hecheng",false],["fd518cfcb1fdb49ec4e5f09c397d16abb36178b8","d55521028c14e0f378be5444e4ea388161c0d7e7@redhat.com","btrfs-show-super: don't try to print not-superblocks\n\nIf we point btrfs-show-super at a not-btrfs-device and\ntry to print all superblocks, bad things are apt to happen:\n\nsuperblock: bytenr=274877906944, device=/dev/sdc2\n---------------------------------------------------------\nbtrfs-show-super: ctree.h:1984: btrfs_super_csum_size: \\\nAssertion `!(t >= (sizeof(btrfs_csum_sizes) / sizeof((btrfs_csum_sizes)[0])))' failed.\ncsum\t\t\t0xAborted\n\nDon't try to print superblocks that don't look like superblocks,\nand add an \"-f\" (force) option to try anyway, if the user\nreally wants to give it a shot.\n\nFix some spelling & capitalization while we're at it.\n\nThe manpage says that if any problem happens, 1 will\nbe returned, but that's already not true today LOL, so\nI didn't bother to make it true when we detect bad\nsb magic, either...\n\nI figure it's worth continuing and trying all superblocks\nin case just one has a corrupt magic.\n\nSigned-off-by: Eric Sandeen <sandeen@redhat.com>\n[renamed -f to -F due to clash with existing option, converted\nrelevant docs to asciidoc]\nSigned-off-by: David Sterba <dsterba@suse.cz>","Eric Sandeen",false],["602aac5dbf0c3686c7473dfb025ca56ed13e2414","e0fcd583df77ec6c08e6d1257619cc1216ddc994@gmail.com","Btrfs-progs: debug-tree, add option to dump a single tree\n\nVery often while debugging filesystems with many subvolumes and/or\nsnapshots, specially when they are large, I want to see only the\ncontent of one of the trees. So this change just adds an option\nto btrfs-debug-tree to allow to specify the id of the tree we're\ninteresting in dumping to stdout.\n\nExample:  btrfs-debug-tree -t 257 /dev/sdc\n\nWill only dump the tree of the first snapshot or subvolume that was\ncreated.\n\nSigned-off-by: Filipe David Borba Manana <fdmanana@gmail.com>\nSigned-off-by: David Sterba <dsterba@suse.cz>","Filipe David Borba Manana",false],["d339d863ad5333c630ef14517f8dbfe11eb3904d","1d6e1cf70ec6f9ab28d3ea4b27a49a77654d370e@eworm.de","btrfs-progs: fix build, manpage compression command\n\nman pages for btrfs-progs are compressed by gzip by default. In Makefile\nthe variable GZIP is use, this evaluates to 'gzip gzip' on my system.\n>From man gzip:\n\n> The environment variable GZIP can hold a set of default options for\n> gzip. These options are interpreted first and can be overwritten by\n> explicit command line parameters.\n\nSo using any other variable name fixes this.\n\nSigned-off-by: Christian Hesse <mail@eworm.de>\nSigned-off-by: David Sterba <dsterba@suse.cz>","Christian Hesse",false],["ee84304fe215cdb524be4cd10aec39ae9af5950c","a2ce9d316ca04d17b520237d2846a218b8284e52@suse.cz","btrfs-progs: doc: fix symlink target for btrfsck.8\n\nThe manpage of btrfsck.8 is supposed to link to btrfs-check.8 .\n\nReported-by: WorMzy Tykashi <wormzy.tykashi@gmail.com>\nSigned-off-by: David Sterba <dsterba@suse.cz>","David Sterba",false],["834b85e9f6753d61d4c0990545de77f0f3dbf6a1","5a37d2403413e145529bb5089d995cb9a4067f33@gmail.com","btrfs-progs: Add information about libblkid requirement to INSTALL file\n\nSigned-off-by: Augusto Mecking Caringi <augustocaringi@gmail.com>\nSigned-off-by: David Sterba <dsterba@suse.cz>","Augusto Mecking Caringi",false],["7165d9024df628593a6c6fe9fe50d02547105afc","d55521028c14e0f378be5444e4ea388161c0d7e7@redhat.com","btrfs-progs: clarify mkfs.btrfs --alloc-start option\n\nFedora had a bug where a poor user thought that --alloc-start\nmeant that the filesystem would be created at that offset into\nthe device, rather than just starting allocations at that offset.\nA subtle difference, but worth clarifying, because the manpage\nis misleading on this point.\n\nThe original commit log for this option says:\n\n    Add mkfs.btrfs -A offset to control allocation start on devices\n\n    This is a utility option for the resizer, it makes sure to allocate\n    at offset bytes in the disk or higher.  It ensures the resizer will have\n    something to move when testing it.\n\nso allude to that intended use in the manpage.\n\nSigned-off-by: Eric Sandeen <sandeen@redhat.com>\n[converted to asciidoc]\nSigned-off-by: David Sterba <dsterba@suse.cz>","Eric Sandeen",false],["8bf2f988bb98aad135741bf4265138f01fe4d423","1c5d69841cd43aa5bd620389a9dfe310c76cb958@cn.fujitsu.com","btrfs-progs: clarify manpage for btrfstune seeding option\n\nThe btrfstune -S option accepts a positive value to enable seeding,\nand a zero to disable seeding, negtive is not allowed.\n\nAdd \"positive, zero, negative\" sentences to btrfstune manpage.\n\nSigned-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com>\nSigned-off-by: David Sterba <dsterba@suse.cz>","Gui Hecheng",false],["660fe77615ac77909ce3b9d259243781a6206c9a","f41a7033a6382ce00d6b717e37d942dbe3c9a107@cn.fujitsu.com","btrfs-progs: Add dev uuid output for print_dev_item().\n\nThe original print_dev_item() only prints device id,total bytes and\nbytes used.\n\nWhen it comes to debug duplicated device id, dev uuid\nis needed to distinguish different devices since device id is not\nreliable.\n(Although the current dev replace implement will reuse the dev uuid,\nso not really helpful)\n\nThis patch adds dev uuid output for print_dev_item().\n\nSigned-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>\nSigned-off-by: David Sterba <dsterba@suse.cz>","Qu Wenruo",false],["11ffe235315db4c4837f2a0f9ae190747b28b1d5","d55521028c14e0f378be5444e4ea388161c0d7e7@redhat.com","btrfs-progs: fix btrfs-fragments build\n\nWhen I made all the btrfs-foo.c targets generic, I somehow\nmanaged to break the libs definition for btrfs-fragments by\ndropping the \"s\" off the end.\n\nFix that, although apparently nobody is building this tool.  :)\n\nSigned-off-by: Eric Sandeen <sandeen@redhat.com>\nSigned-off-by: David Sterba <dsterba@suse.cz>","Eric Sandeen",false],["e2a157f380aa33a264eab8e21280ea8bbc10d67e","1d6e1cf70ec6f9ab28d3ea4b27a49a77654d370e@eworm.de","btrfs-progs: fix compiler warning\n\ngcc 4.9.0 gives a warning: format ‘%d’ expects argument of type ‘int’,\nbut argument 2 has type ‘u64’\n\nUsing %llu and casting to unsigned long long (same as bytenr) fixes this.\n\nSigned-off-by: Christian Hesse <mail@eworm.de>\nSigned-off-by: David Sterba <dsterba@suse.cz>","Christian Hesse",false],["85691ebeac9432b4ebb1a268514279a0b2c7c61d","d55521028c14e0f378be5444e4ea388161c0d7e7@redhat.com","btrfs-progs: mkfs: allow UUID specification at mkfs time\n\nAllow the specification of the filesystem UUID at mkfs time.\n\nNon-unique unique IDs are rejected.  This includes attempting\nto re-mkfs with the same UUID; if you really want to do that,\nyou can mkfs with a new UUID, then re-mkfs with the one you\nwanted.\n\n(Implemented only for mkfs.btrfs, not btrfs-convert).\n\nSigned-off-by: Eric Sandeen <sandeen@redhat.com>\n[converted help to asciidoc]\nSigned-off-by: David Sterba <dsterba@suse.cz>","Eric Sandeen",false],["c2429c8a0d34ab47e69c8e66803ad4112ff31985","a4b1371611363e0af42394535544e5b398550c3a@google.com","btrfs-image: Fix a data race in build_chunk_tree.\n\nA mdrestore_struct was being written to without its mutex being held.\nThis race was found with ThreadSanitizer; the relevant part of the report\nlooks like this:\n\nWARNING: ThreadSanitizer: data race (pid=18828)\n  Write of size 8 at 0x7fffffc3d088 by main thread:\n    #0 build_chunk_tree .../btrfs-progs/btrfs-image.c:2233\n    #1 __restore_metadump .../btrfs-progs/btrfs-image.c:2294\n    #2 restore_metadump .../btrfs-progs/btrfs-image.c:2345\n    #3 main .../btrfs-progs/btrfs-image.c:2545\n\n  Previous read of size 8 at 0x7fffffc3d088 by thread T1 (mutexes: write M0):\n    #0 restore_worker .../btrfs-progs/btrfs-image.c:1636\n\n  Location is stack of main thread.\n\n  Mutex M0 created at:\n    #0 pthread_mutex_init ??:0\n    #1 mdrestore_init .../btrfs-progs/btrfs-image.c:1766\n    #2 __restore_metadump .../btrfs-progs/btrfs-image.c:2286\n    #3 restore_metadump .../btrfs-progs/btrfs-image.c:2345\n    #4 main .../btrfs-progs/btrfs-image.c:2545\n\n  Thread T1 (tid=18830, running) created by main thread at:\n    #0 pthread_create ??:0\n    #1 mdrestore_init .../btrfs-progs/btrfs-image.c:1784\n    #2 __restore_metadump .../btrfs-progs/btrfs-image.c:2286\n    #3 restore_metadump .../btrfs-progs/btrfs-image.c:2345\n    #4 main .../btrfs-progs/btrfs-image.c:2545\n\nSigned-off-by: Adam Buchbinder <abuchbinder@google.com>\nSigned-off-by: David Sterba <dsterba@suse.cz>","Adam Buchbinder",false],["909131939f750faffb9fab5542c94f14475379f6","e0fcd583df77ec6c08e6d1257619cc1216ddc994@gmail.com","Btrfs-progs: receive, allow to continue after errors happen\n\nDue to either bugs in send (kernel) that generate a command against\na wrong path for example, or transient errors on the receiving side,\nwe stopped processing the send stream immediately and exited with\nan error.\n\nIt's often desirable to continue processing the send stream even if an\nerror happens while processing a single command from the send stream.\n\nThis change just adds a --max-errors <N> parameter, whose default value\nis 1 (preserving current behaviour), that allows to tolerate N errors\nbefore stopping. A value of 0 means to never stop no matter how many\nerrors we get into while processing the send stream. Regardless of its\nvalue, errors are always printed to stderr when they happen, just like\nbefore this change.\n\nSigned-off-by: Filipe David Borba Manana <fdmanana@gmail.com>\nSigned-off-by: David Sterba <dsterba@suse.cz>","Filipe David Borba Manana",false],["2dfafb471004bdd78c191d14d2792eb9ec391987","8f0bc92cac940f3e83deb53ced7a1f201bce5732@suse.de","btrfs-progs: print qgroup excl as unsigned\n\nIt's unsigned in the structure definition.\n\nSigned-off-by: Mark Fasheh <mfasheh@suse.de>\nSigned-off-by: David Sterba <dsterba@suse.cz>","Mark Fasheh",false],["2ab405af95d43972b57c7806981220a6949df643","8f0bc92cac940f3e83deb53ced7a1f201bce5732@suse.de","btrfs-progs: import ulist\n\nqgroup-verify.c wants this for walking root refs.\n\nSigned-off-by: Mark Fasheh <mfasheh@suse.de>\nSigned-off-by: David Sterba <dsterba@suse.cz>","Mark Fasheh",false]],"size":114,"ref":"refs/heads/master","head":"ea7c181c68e4e5c077f6fa0ce17ab8df6f1c7c73"}