GitHub PushEvent at 2014-03-16 05:11:50
Repository: osv
Actor: syuu1228
Payload: {"shas":[["b7de9871b3190bd8ce1fc7a4e5a80740ea25c67b","7487d0432e24c09ba3f2ff7de44b9eb030d5ae18@cloudius-systems.com","virtio-blk: Do not split buffer\n\nbio->bio_data from ZFS is allocated either from alloc_page or malloc\nwhich are both physically contiguous buffer. So no need to break a\ncontiguous buffers that > 4k into several physical page mapping even if\nthe virtual space is contiguous.\n\nThis reduces the virtio buffer element usage a lot with large buffers.\n\nTest:\n\nOn my setup using ramdisk as backend.\n\n$ scripts/run.py -e \"/tests/misc-bdev-write.so vblk1 200000000\"\n\nBefore:\nWrote 13644.500 MB in 10.00 s = 1364.157 Mb/s\n\nAfter:\nWrote 30219.750 MB in 10.00 s = 3021.261 Mb/s\n\nReviewed-by: Glauber Costa <glommer@cloudius-systems.com>\nSigned-off-by: Asias He <asias@cloudius-systems.com>\nSigned-off-by: Pekka Enberg <penberg@cloudius-systems.com>","Asias He",true],["8b1c8ac3039dfed1a45024f2f0c5e40971fb4ab3","625169824b719df98706d88646d0aae6f368ae4d@cloudius-systems.com","Avoid memory allocation in rcu_dispose()\n\nrcu_dispose() passes to rcu_defer() a lambda function which deletes the\ngiven object. Unfortunately when an std::function is created from this\nlambda, the existing std::function implmentation (in gcc) allocates memory.\nThis means that new/rcu_dispose will always be at least twice slower than\nnew/delete.\n\nThis patch tells gcc's standard library implementation that it is fine\nto use the \"small functor optimization\" here, namely store the lamda\ninside the std::function without allocating external storage.\n\nOn my machine, this patch shaves 37ns off rcu_dispose(). As a sanity check,\nnow, if I hack rcu_defer to run the function immediately, rcu_dispose() is\njust as fast as delete(); Before this patch it was 3 times slower.\n\nSigned-off-by: Nadav Har'El <nyh@cloudius-systems.com>\nSigned-off-by: Pekka Enberg <penberg@cloudius-systems.com>","Nadav Har'El",true],["6d383afb738dc266da4a45ebef21332699f74b55","7487d0432e24c09ba3f2ff7de44b9eb030d5ae18@cloudius-systems.com","scripts: Add script to generate GCE image\n\n* Upload disk tarball to Google Cloud Storage\n\n   $ gsutil cp osv.tar.gz gs://google_cloud_storage_dir/osv.tar.gz\n\n* Create an image which can be used to start instance\n\n   $ gcutil addimage osv gs://google_cloud_storage_dir/osv.tar.gz\n\nSigned-off-by: Asias He <asias@cloudius-systems.com>\nSigned-off-by: Pekka Enberg <penberg@cloudius-systems.com>","Asias He",true],["ab8eb942cbdb951b43e2721e619b1d52ee3320a6","7487d0432e24c09ba3f2ff7de44b9eb030d5ae18@cloudius-systems.com","scripts: Add script to generate OSv VirtualBox Appliance\n\n* Run scripts/gen-vbox-ova.sh\n\nA build/release/osv.ova will be created\n\n* Import OSv VirtualBox Appliance\n\nClick File -> Import Appliance, Choose osv.ova to import\n\nSigned-off-by: Asias He <asias@cloudius-systems.com>\nSigned-off-by: Pekka Enberg <penberg@cloudius-systems.com>","Asias He",true],["31b4362f3db24411f5680cad2cc2eabf1b5c843a","8f920f22884d6fea9df883843c4a8095a2e5ac6f@cloudius-systems.com","osv-apps: update for jenkins integration\n\nSigned-off-by: Avi Kivity <avi@cloudius-systems.com>","Avi Kivity",true],["326e20dca7011024d85eea5032bf9d696dc765d5","4ebfb6f510af412d6e89fefa3ab96d9c8b5e3fff@cloudius-systems.com","scripts: Add script to generate OSv VMware configuration\n\n./scripts/gen-vmx.sh will create build/release/osv.vmx\nYou can run this VM image on VMware by executing following command:\nvmware build/release/osv.vmx\n\nSigned-off-by: Takuya ASADA <syuu@cloudius-systems.com>\nSigned-off-by: Pekka Enberg <penberg@cloudius-systems.com>","Takuya ASADA",true],["65d7e881e0f5bdd9f52b6644a5eafae70dbaf9b2","03189597947f75187c4136ade35aec34feed9dc1@cloudius-systems.com","mmu: read page content before populating page table\n\nPage should not be accessible through a page table before it contains\nvalid data, otherwise a thread running on another vcpu can see garbage.\nWe rely on zfs file prefetch mechanism to minimize actual disk IO for\nmmap_populate mappings. In the feature this will be replaced with proper\npage cache integration.\n\nFixes #228\n\nSigned-off-by: Gleb Natapov <gleb@cloudius-systems.com>\nSigned-off-by: Pekka Enberg <penberg@cloudius-systems.com>","Gleb Natapov",true],["951cca458783d15964d2ccf46b6f7d8a7190d958","add4fcd06328a394f0ad91feda7ee057316dc5ed@cloudius-systems.com","Revert \"vfs/zfs: Sync vnode and znode refcounts\"\n\nThis reverts commit ca805bdb48465fdc7dbd46e1c4eee2e64d7c6d1e.\n\nThe commit breaks Cassandra startup as follows:\n\n   INFO 09:18:00,244 Opening /var/lib/cassandra/data/system/local/system-local-jb-5 (5677 bytes)\n  page fault outside application, addr 0\n  [backtrace]\n  0x31899b <mmu::vm_fault(unsigned long, exception_frame*)+219>\n  0x34c105 <page_fault+101>\n  0x34acc7 <ex_pf+35>\n  0x391e94 <vn_stat+132>\n  0x3935c9 <sys_stat+41>\n  0x38a4ee <__xstat+78>\n\nRaphael explains:\n\n  I found that the following commit\n  ca805bdb48465fdc7dbd46e1c4eee2e64d7c6d1e is the guilty one. It correctly\n  fixes some mismatches between znode and vnode refcnts, then moves\n  VOP_INACTIVE from vrele to keep them synchronized. This change assumes\n  that there is no mismatch anymore.\n\n  However, there is apparently a corner-case that the patch doesn't\n  address. Example: If the vnode is one refcnt ahead of the respective\n  znode, on an eventual vrele, the znode would be destroyed while the\n  vnode is still alive. zfs_getattr attempts to dereference the field of\n  the znode which doesn't exist anymore, thus the page fault.\n\nAs it's a regression, revert the commit for now.\n\nSigned-off-by: Pekka Enberg <penberg@cloudius-systems.com>","Pekka Enberg",true],["36b915461a905e238717875875820ad28b17a5b4","add4fcd06328a394f0ad91feda7ee057316dc5ed@cloudius-systems.com","tst-zfs-mount.so: Disable reference count check\n\nCommit 951cca4 (\"Revert \"vfs/zfs: Sync vnode and znode refcounts\")\nforgot to disable ZFS reference count test case.\n\nReported-by: Avi Kivity <avi@cloudius-systems.com>\nSigned-off-by: Pekka Enberg <penberg@cloudius-systems.com>","Pekka Enberg",true],["8e112e302656318edc578cf66ffb24191d379170","1e2942cea40e3b4d2162dfcd9e53e41c05a84d22@cloudius-systems.com","zfs: Set f_fsid in zfs_statfs\n\nSigned-off-by: Raphael S. Carvalho <raphaelsc@cloudius-systems.com>\nSigned-off-by: Pekka Enberg <penberg@cloudius-systems.com>","Raphael S. Carvalho",true],["d529c4db628130206f7eea4460a0d377ab05b291","1e2942cea40e3b4d2162dfcd9e53e41c05a84d22@cloudius-systems.com","vfs/zfs: Add st_dev field support to stat\n\nTomek says:\n\nSome programs rely on the fact that the (stat.st_ino, stat.st_dev) pair\nuniquely identifies the file.\nIn OSv only st_ino is set by vn_stat(), st_dev is zeroed. It is possible that\nfiles on different file systems will have the same inode number and hence\nappear as referring to the same file.\n\nSpotted during code inspection of openssl and vfs, I didn't run into any issue\nrelated to that yet.\n\nThis patch addresses the issue #216\n\nSigned-off-by: Raphael S. Carvalho <raphaelsc@cloudius-systems.com>\nSigned-off-by: Pekka Enberg <penberg@cloudius-systems.com>","Raphael S. Carvalho",true],["c69162389e8388729e035391cf418cf2949e4923","1e2942cea40e3b4d2162dfcd9e53e41c05a84d22@cloudius-systems.com","tests: Check st_dev and f_fsid validity\n\nSigned-off-by: Raphael S. Carvalho <raphaelsc@cloudius-systems.com>\nSigned-off-by: Pekka Enberg <penberg@cloudius-systems.com>","Raphael S. Carvalho",true],["319cf42ddcce0db62fb1d8118e8454dcbcd5a7ea","625169824b719df98706d88646d0aae6f368ae4d@cloudius-systems.com","Fix uma_zone cache regression\n\nIn commit 08835b4e608eddcbd0ce17e3ef7a813d7b239731, we turned off uma\nallocation caching when CONF_debug_memory is on because it hid bugs.\nOr at least, this is what was *intended*. What the patch actually did\nwas the opposite - it turned off the cache in the normal compilation!\n\nThis caused a deterioration of UDP memcached performance, from 159,000\nto 131,000 req/sec. This was the second half of the recent memcached\nperformance deterioration (see issue #227).\n\nSigned-off-by: Nadav Har'El <nyh@cloudius-systems.com>\nSigned-off-by: Pekka Enberg <penberg@cloudius-systems.com>","Nadav Har'El",true],["38e45bd28acc38912a45c0b3b818bf8ee56286e6","8f4216e1445a977c212c30b862d8f6fe4fce65dc@huawei.com","x64: Fix duplicate ex_pf() declaration\n\nThere is a duplication in OSv exceptions.\n\nSigned-off-by: Wangbicheng <wangbicheng@huawei.com>\nSigned-off-by: Pekka Enberg <penberg@cloudius-systems.com>","Wangbicheng",true],["6d20446fd7a13f4ec581286aba2a639780d70133","8f920f22884d6fea9df883843c4a8095a2e5ac6f@cloudius-systems.com","run: reuse command line in standalone images\n\nIf the user specifies an image, take the command line from there, instead\nof looking for an unrelated build/release/cmdline.\n\nTODO: support --verbose and friends using imgedit.py.\n\nSigned-off-by: Avi Kivity <avi@cloudius-systems.com>","Avi Kivity",true],["fb3b6febf626c6ea564b25904745a6f8b8be85af","82d1ac964cbd061e12f4b0fa0a4e96047574d57e@gmail.com","dhcp.hh: Replaced const with constexpr\n\nReplaced all const specifiers with constexpr in dhcp.hh.\n\nSigned-off-by: Andrei Preda <andreipreda07@gmail.com>\nSigned-off-by: Pekka Enberg <penberg@cloudius-systems.com>","Andrei Preda",true],["1879d200f403ed6316328a625a2c8ad368431d4b","8f920f22884d6fea9df883843c4a8095a2e5ac6f@cloudius-systems.com","apps: update for cassandra/jenkins integration\n\nSigned-off-by: Avi Kivity <avi@cloudius-systems.com>","Avi Kivity",true],["efed092e645ed6b7f30f912b54acfbdf303f16ac","5b6f5bb8c48333808ed72246428f3dc778928cb4@cloudius-systems.com","trace: do not attempt to read across the pivot page\n\nThis is an optimization. We first check if the entry is valid using\nthe 'tp' field and only if it is we try to read the rest.\n\nSigned-off-by: Tomasz Grabiec <tgrabiec@cloudius-systems.com>\nSigned-off-by: Avi Kivity <avi@cloudius-systems.com>","Tomasz Grabiec",true],["caf63102df766d69517a1cf52a1498a895de355a","5b6f5bb8c48333808ed72246428f3dc778928cb4@cloudius-systems.com","trace: encode and decode strings\n\nPython3 became more restrictive with regards to string handling than\npython2. In python3 strings no longer conform to byte array interface,\nthey have to be encoded explicitly. The current code throws exception\nwhen run in python3.\n\nSigned-off-by: Tomasz Grabiec <tgrabiec@cloudius-systems.com>\nSigned-off-by: Avi Kivity <avi@cloudius-systems.com>","Tomasz Grabiec",true],["6a7a2d34244818291ee36ba25f498a06344d29c2","5b6f5bb8c48333808ed72246428f3dc778928cb4@cloudius-systems.com","gdb: remove dead import\n\nSigned-off-by: Tomasz Grabiec <tgrabiec@cloudius-systems.com>\nSigned-off-by: Avi Kivity <avi@cloudius-systems.com>","Tomasz Grabiec",true]],"size":32,"ref":"refs/heads/master","head":"dbdf4f7b1e6c85ce294a3ce3e5afe49fd99e457c"}