{"push_id":653462773,"size":11,"distinct_size":11,"ref":"refs/heads/master","head":"f3c517d814f0155407d50a22b2f9b2b936260b7a","before":"98b254188a730553361adfabca9f658421be2b82","commits":[{"sha":"c9520ecc0f4693cf6fbc3f678555268dc2b91089","author":{"email":"68c46a606457643eab92053c1c05574abb26f861@perfinion.com","name":"Jason Zaman"},"message":"dmu: fix integer overflows\n\nThe params to the functions are uint64_t, but the offsets to memcpy\n/ bcopy are calculated using 32bit ints. This patch changes them to\nalso be uint64_t so there isnt an overflow. PaX's Size Overflow\ncaught this when formatting a zvol.\n\nGentoo bug: #546490\n\nPAX: offset: 1ffffb000 db->db_offset: 1ffffa000 db->db_size: 2000 size: 5000\nPAX: size overflow detected in function dmu_read /var/tmp/portage/sys-fs/zfs-kmod-0.6.3-r1/work/zfs-zfs-0.6.3/module/zfs/../../module/zfs/dmu.c:781 cicus.366_146 max, count: 15\nCPU: 1 PID: 2236 Comm: zvol/10 Tainted: P           O   3.17.7-hardened-r1 #1\nCall Trace:\n [<ffffffffa0382ee8>] ? dsl_dataset_get_holds+0x9d58/0x343ce [zfs]\n [<ffffffff81a59c88>] dump_stack+0x4e/0x7a\n [<ffffffffa0393c2a>] ? dsl_dataset_get_holds+0x1aa9a/0x343ce [zfs]\n [<ffffffff81206696>] report_size_overflow+0x36/0x40\n [<ffffffffa02dba2b>] dmu_read+0x52b/0x920 [zfs]\n [<ffffffffa0373ad1>] zrl_is_locked+0x7d1/0x1ce0 [zfs]\n [<ffffffffa0364cd2>] zil_clean+0x9d2/0xc00 [zfs]\n [<ffffffffa0364f21>] zil_commit+0x21/0x30 [zfs]\n [<ffffffffa0373fe1>] zrl_is_locked+0xce1/0x1ce0 [zfs]\n [<ffffffff81a5e2c7>] ? __schedule+0x547/0xbc0\n [<ffffffffa01582e6>] taskq_cancel_id+0x2a6/0x5b0 [spl]\n [<ffffffff81103eb0>] ? wake_up_state+0x20/0x20\n [<ffffffffa0158150>] ? taskq_cancel_id+0x110/0x5b0 [spl]\n [<ffffffff810f7ff4>] kthread+0xc4/0xe0\n [<ffffffff810f7f30>] ? kthread_create_on_node+0x170/0x170\n [<ffffffff81a62fa4>] ret_from_fork+0x74/0xa0\n [<ffffffff810f7f30>] ? kthread_create_on_node+0x170/0x170\n\nSigned-off-by: Jason Zaman <jason@perfinion.com>\nSigned-off-by: Brian Behlendorf <behlendorf1@llnl.gov>\nCloses #3333","distinct":true,"url":"https://api.github.com/repos/imp/zfs/commits/c9520ecc0f4693cf6fbc3f678555268dc2b91089"},{"sha":"6102d0376ecfbcc1f63819bc1046ee78b7f3d4fc","author":{"email":"1d34d2e6c70ee806ecb1ebb590a2bf31fd995e1f@gmail.com","name":"tuxoko"},"message":"Add cond_resched to zfs_zget to prevent infinite loop\n\nIt's been reported that threads would loop infinitely inside zfs_zget. The\nspeculated cause for this is that if an inode is marked for evict, zfs_zget\nwould see that and loop. However, if the looping thread doesn't yield, the\ninode may not have a chance to finish evict, thus causing a infinite loop.\n\nThis patch solve this issue by add cond_resched to zfs_zget, making the\nlooping thread to yield when needed.\n\nTested-by: jlavoy <jalavoy@gmail.com>\nSigned-off-by: Chunwei Chen <tuxoko@gmail.com>\nSigned-off-by: Brian Behlendorf <behlendorf1@llnl.gov>\nCloses #3349","distinct":true,"url":"https://api.github.com/repos/imp/zfs/commits/6102d0376ecfbcc1f63819bc1046ee78b7f3d4fc"},{"sha":"83017311e4a64bc49d43d1f8c93fc0e2263bb41b","author":{"email":"0962b5d2f5c1117073cf6f982c188f029b03d89e@delphix.com","name":"Matthew Ahrens"},"message":"Illumos 3654,3656\n\n3654 zdb should print number of ganged blocks\n3656 remove unused function zap_cursor_move_to_key()\nReviewed by: George Wilson <george.wilson@delphix.com>\nReviewed by: Christopher Siden <christopher.siden@delphix.com>\nReviewed by: Dan McDonald <danmcd@nexenta.com>\nApproved by: Garrett D'Amore <garrett@damore.org>\n\nReferences:\n  https://www.illumos.org/issues/3654\n  https://www.illumos.org/issues/3656\n  https://github.com/illumos/illumos-gate/commit/d5ee8a1\n\nPorting Notes:\n\n3655 and 3657 were part of this commit but those hunks were dropped\nsince they apply to mdb.\n\nPorted by: Brian Behlendorf <behlendorf1@llnl.gov>","distinct":true,"url":"https://api.github.com/repos/imp/zfs/commits/83017311e4a64bc49d43d1f8c93fc0e2263bb41b"},{"sha":"a0c9a17aefb6959a50a5c3572544b955dcf715a9","author":{"email":"5fb6eb181ed94f874cfa87d2a7d2ba1e9ee21a49@joyent.com","name":"Jerry Jelinek"},"message":"Illumos 4901 - zfs filesystem/snapshot limit leaks\n\n4901 zfs filesystem/snapshot limit leaks\nReviewed by: Matthew Ahrens <mahrens@delphix.com>\nApproved by: Dan McDonald <danmcd@omniti.com>\n\nReferences:\n  https://www.illumos.org/issues/4901\n  https://github.com/illumos/illumos-gate/commit/adf3407\n\nPorted by: Brian Behlendorf <behlendorf1@llnl.gov>","distinct":true,"url":"https://api.github.com/repos/imp/zfs/commits/a0c9a17aefb6959a50a5c3572544b955dcf715a9"},{"sha":"cfec5b17b3b04f07381cc705eaf733794d034065","author":{"email":"3f479cc535d979baa04cfbe60ca670fd4165c2aa@delphix.com","name":"Max Grossman"},"message":"Illumos 4373 - add block contents print to zstreamdump\n\n4373 add block contents print to zstreamdump\nReviewed by: Adam Leventhal <ahl@delphix.com>\nReviewed by: Matthew Ahrens <mahrens@delphix.com>\nReviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>\nApproved by: Dan McDonald <danmcd@nexenta.com>\n\nReferences:\n  https://www.illumos.org/issues/4373\n  https://github.com/illumos/illumos-gate/commit/994fb6b\n\nPorted by: Brian Behlendorf <behlendorf1@llnl.gov>","distinct":true,"url":"https://api.github.com/repos/imp/zfs/commits/cfec5b17b3b04f07381cc705eaf733794d034065"},{"sha":"3d45fdd6c0d5b4c8e42b6a2cda00bf6f22c9f2bf","author":{"email":"0962b5d2f5c1117073cf6f982c188f029b03d89e@delphix.com","name":"Matthew Ahrens"},"message":"Illumos 4951 - ZFS administrative commands should use reserved space\n\n4951 ZFS administrative commands should use reserved space, not with ENOSPC\nReviewed by: John Kennedy <john.kennedy@delphix.com>\nReviewed by: George Wilson <george.wilson@delphix.com>\nReviewed by: Christopher Siden <christopher.siden@delphix.com>\nReviewed by: Dan McDonald <danmcd@omniti.com>\nApproved by: Garrett D'Amore <garrett@damore.org>\n\nReferences:\n  https://www.illumos.org/issues/4373\n  https://github.com/illumos/illumos-gate/commit/7d46dc6\n\nPorted by: Brian Behlendorf <behlendorf1@llnl.gov>","distinct":true,"url":"https://api.github.com/repos/imp/zfs/commits/3d45fdd6c0d5b4c8e42b6a2cda00bf6f22c9f2bf"},{"sha":"0c60cc326bdb44f7eea61e62c6183822d0bd9cf0","author":{"email":"711c73f64afdce07b7e38039a96d2224209e9a6c@delphix.com","name":"Christopher Siden"},"message":"Illumos 4951 - ZFS administrative commands (fix)\n\n4951 ZFS administrative commands should use reserved space, not fail with ENOSPC\nApproved by: Christopher Siden <christopher.siden@delphix.com>\n\nReferences:\n  https://www.illumos.org/issues/4951\n  https://github.com/illumos/illumos-gate/commit/c39f2c8\n\nPorted by: Brian Behlendorf <behlendorf1@llnl.gov>","distinct":true,"url":"https://api.github.com/repos/imp/zfs/commits/0c60cc326bdb44f7eea61e62c6183822d0bd9cf0"},{"sha":"859735c0954e89dd329729c6959df7cbaca1fdcc","author":{"email":"ae7481973e6c9f63ea91e7cd1b77d8821b8e072d@bayour.com","name":"Turbo Fredriksson"},"message":"Add the '-a' option to 'zpool export'\n\nSupport exporting all imported pools in one go, using 'zpool export -a'.\n\nThis is accomplished by moving the export parts from zpool_do_export()\nin to the new function zpool_export_one().  The for_each_pool() function\nis used to enumerate the list of pools to be exported.  Passing an argc\nof 0 implies the function should be called on all pools.\n\nSigned-off-by: Turbo Fredriksson <turbo@bayour.com>\nSigned-off-by: Brian Behlendorf <behlendorf1@llnl.gov>\nCloses: #3203","distinct":true,"url":"https://api.github.com/repos/imp/zfs/commits/859735c0954e89dd329729c6959df7cbaca1fdcc"},{"sha":"50f9ea01499be508918e33923e004bf5dcf390e3","author":{"email":"37d41699bdee4fcb969ca499eb0f8b82c60d59cc@freebsd.org","name":"Will Andrews"},"message":"Illumos 5814 - bpobj_iterate_impl(): Close a refcount leak iterating on a sublist.\n\n5814 bpobj_iterate_impl(): Close a refcount leak iterating on a sublist.\nReviewed by: Prakash Surya <prakash.surya@delphix.com>\nReviewed by: Matthew Ahrens <mahrens@delphix.com>\nReviewed by: Paul Dagnelie <paul.dagnelie@delphix.com>\nReviewed by: Simon Klinkert <simon.klinkert@gmail.com>\nApproved by: Gordon Ross <gwr@nexenta.com>\n\nReferences:\n  https://www.illumos.org/issues/5814\n  https://github.com/illumos/illumos-gate/commit/b67dde11\n\nPorted-by: DHE <git@dehacked.net>\nSigned-off-by: Brian Behlendorf <behlendorf1@llnl.gov>\nCloses #3368","distinct":true,"url":"https://api.github.com/repos/imp/zfs/commits/50f9ea01499be508918e33923e004bf5dcf390e3"},{"sha":"36c6ffb6b6a4a77e7133b0f84a5aeccf0aa25499","author":{"email":"0962b5d2f5c1117073cf6f982c188f029b03d89e@delphix.com","name":"Matthew Ahrens"},"message":"Illumos 5808 - spa_check_logs is not necessary on readonly pools\n\n5808 spa_check_logs is not necessary on readonly pools\nReviewed by: George Wilson <george@delphix.com>\nReviewed by: Paul Dagnelie <paul.dagnelie@delphix.com>\nReviewed by: Simon Klinkert <simon.klinkert@gmail.com>\nReviewed by: Will Andrews <will@freebsd.org>\nApproved by: Gordon Ross <gwr@nexenta.com>\n\nReferences:\n  https://www.illumos.org/issues/5808\n  https://github.com/illumos/illumos-gate/commit/23367a2f\n\nPorted-by: DHE <git@dehacked.net>\nSigned-off-by: Brian Behlendorf <behlendorf1@llnl.gov>\nCloses #3369","distinct":true,"url":"https://api.github.com/repos/imp/zfs/commits/36c6ffb6b6a4a77e7133b0f84a5aeccf0aa25499"},{"sha":"f3c517d814f0155407d50a22b2f9b2b936260b7a","author":{"email":"0962b5d2f5c1117073cf6f982c188f029b03d89e@delphix.com","name":"Matthew Ahrens"},"message":"Illumos 5820 - verify failed in zio_done(): BP_EQUAL(bp, io_bp_orig)\n\n5820 verify failed in zio_done(): BP_EQUAL(bp, io_bp_orig)\nReviewed by: Alex Reece <alex@delphix.com>\nReviewed by: George Wilson <george@delphix.com>\nReviewed by: Steven Hartland <killing@multiplay.co.uk>\nApproved by: Garrett D'Amore <garrett@damore.org>\n\nReferences:\n  https://www.illumos.org/issues/5820\n  https://github.com/illumos/illumos-gate/commit/34e8acef00\n\nPorted-by: DHE <git@dehacked.net>\nSigned-off-by: Brian Behlendorf <behlendorf1@llnl.gov>\nCloses #3364","distinct":true,"url":"https://api.github.com/repos/imp/zfs/commits/f3c517d814f0155407d50a22b2f9b2b936260b7a"}]}