{"push_id":570140083,"size":81,"distinct_size":81,"ref":"refs/heads/master","head":"c42eac45506415cbcedfcfdb0812d9ea9b873ab5","before":"0673a733a763edd37e1c2f21fdbc86f41936f52f","commits":[{"sha":"eee772655253d9bf52f12fa7b90cd8d06d34d28a","author":{"email":"eb58f5b673acb397722a8259c58efc507dd85d76@lab.ntt.co.jp","name":"Hitoshi Mitake"},"message":"sheep: invalidate inode status of other nodes before actual write\n\nCurrent iscsi coherence protocol can cause inconsistency when a\ngateway sheep process dies between inode update and invalidation.\n\nThis patch makes sure that inode update must cause invalidation even\nif sheep dies before actual inode.\n\nTested-by: YAMADA Hideki <yamada.hideki@lab.ntt.co.jp>\nSigned-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>","distinct":true,"url":"https://api.github.com/repos/liuy/sheepdog/commits/eee772655253d9bf52f12fa7b90cd8d06d34d28a"},{"sha":"1a05487e989c93a1d86bbfb8bd190b56ee95e8ed","author":{"email":"b0c210d3f1f401c2cb6fb8bec50f3d8bf39bf023@gmail.com","name":"Liu Yuan"},"message":"corosync: fix a compiler warning\n\nFix following warning:\n\n...\ncluster/corosync.c: In function ‘corosync_get_local_addr’:\ncluster/corosync.c:132:22: warning: declaration of ‘sin’ shadows a global declaration [-Wshadow]\n  CCLD   sheep\nmake[1]: Leaving directory `/home/test/sheepdog/sheep'\n...\n\nSigned-off-by: Liu Yuan <namei.unix@gmail.com>\nSigned-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>","distinct":true,"url":"https://api.github.com/repos/liuy/sheepdog/commits/1a05487e989c93a1d86bbfb8bd190b56ee95e8ed"},{"sha":"1a712aea5af272c3ac5eb64c0a2f1d41d053f951","author":{"email":"aa187d5d25f18fbed14625f619a3a2ce89cb38ca@gmail.com","name":"Jinzhi Chen"},"message":"init trace for work queue before journal init\n\nwhen journal thread init before the initialization of trace,\nit enter into loop (using uninitailized `tid_max`)with\n--debug-enable configured. we need to initialize trace before\n journal thread init.\nthis patch extrace `wq_trace_init` from `init_work_queue` and\ncall it in the main() function just before the initialization\nof journal file.\n\n[Hitoshi: removed inline modifier from declaration of wq_trace_init()\nin lib/work.c]\n\nSigned-off-by: Jinzhi Chen <nxtjinzhi@gmail.com>\nSigned-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>","distinct":true,"url":"https://api.github.com/repos/liuy/sheepdog/commits/1a712aea5af272c3ac5eb64c0a2f1d41d053f951"},{"sha":"455915f32887a9ee1d6c688765536fb12ec2c0ed","author":{"email":"aa187d5d25f18fbed14625f619a3a2ce89cb38ca@gmail.com","name":"Jinzhi Chen"},"message":"init trace for work queue in dog command\n\nwhen extrace `wq_trace_init` from `init_work_queue`,\nwe need to call `wq_trace_init` before `init_work_queue`\nso that dog's new thread can work properly.\n\nSigned-off-by: Jinzhi Chen <nxtjinzhi@gmail.com>\nSigned-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>","distinct":true,"url":"https://api.github.com/repos/liuy/sheepdog/commits/455915f32887a9ee1d6c688765536fb12ec2c0ed"},{"sha":"f68feab7edc0ded86701a2e902d85616b24942ab","author":{"email":"6a789ce834c35ce3054497a11222b14e98f4e286@po.ntts.co.jp","name":"Saeki Masaki"},"message":"sheep/dog: introduce new bitmap for delete vdi\n\nFor day-to-day backup, repeatedly create snapshot and delete snapshot.\nbut inode file remains even after delete snapshot.\n\"dog vdi list\" command would read all inode files, even if vdi/snapshot was deleted.\nthis behavior is inefficient to get current VDI list.\n\nThis patch manages the deleted VDI in a bit map.\nAnd, referring VDI bit map when you get VDI list, to open only the necessary files.\n\nAssessment procedure of this patch are below\n\n1. create VDI 1000 times\n2. clearing file cache\n3. execute \"dog vdi list -T\"\n===> execution time assessment [case1]\n4. create and delete snapshot 4000 times\n5. clearing file cache\n6. execute \"dog vdi list -T\"\n===> execution time assessment [case2]\n7. create and delete snapshot 5000 times\n8. clearing file cache\n9. execute \"dog vdi list -T\"\n===> execution time assessment [case3]\n\nresults are follow.\n\n* Current Sheepdog\n[case1] Elapsed time: 0.963 seconds\n[case2] Elapsed time: 6.522 seconds\n[case3] Elapsed time: 23.376 seconds\n\n* Patch applied Sheepdog\n[case1] Elapsed time: 0.714 seconds\n[case2] Elapsed time: 0.979 seconds\n[case3] Elapsed time: 0.921 seconds\n\nSigned-off-by: Masaki Saeki <saeki.masaki@po.ntts.co.jp>\nSigned-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>","distinct":true,"url":"https://api.github.com/repos/liuy/sheepdog/commits/f68feab7edc0ded86701a2e902d85616b24942ab"},{"sha":"f3da5d6b95411f3abab1c51c6fd0729eec0d85f4","author":{"email":"382f20a79c68ed60a19800d5b0d5057a221748a0@lab.ntt.co.jp","name":"YAMADA Hideki"},"message":"dog/vdi: enable to unlock a vdi locked by tgtd\n\nExplicitly add vdi.type parameter in RELEASE_VDI request.\n\n[Hitoshi: fixed trivial whitespace probelm]\n\nSigned-off-by: YAMADA Hideki <yamada.hideki@lab.ntt.co.jp>\nSigned-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>","distinct":true,"url":"https://api.github.com/repos/liuy/sheepdog/commits/f3da5d6b95411f3abab1c51c6fd0729eec0d85f4"},{"sha":"1108f0553b49dde360b5f92412e181a6eb30ed36","author":{"email":"eb58f5b673acb397722a8259c58efc507dd85d76@lab.ntt.co.jp","name":"Hitoshi Mitake"},"message":"sheep: propagate deletion information via SD_OP_GET_VDI_COPIES\n\nThe commit f68feab7edc0de introduced significant optimization for dog\nvdi list. But the deleted vid bitmap cannot be copied to newly joining\nsheep. This patch let new sheeps copy the information via\nSD_OP_GET_VDI_COPIES during joining process.\n\nBelow is the evaluation result by Saeki-san:\n\n1. create 1000 snapshot\n2. delete  999 snapshot\n\n3. add new node at -p 7003\n  # sheep -p 7003 -z 3 /var/lib/sheepdog/data3\n( wait for complete recovery )\n\n4. test vdi list to original node\n  # dog vdi list -p 7000 -T\n===> [test-case-1]\n5. test vdi list to additional node\n  # dog vdi list -p 7003 -T\n===> [test-case-2]\n\nbefore patch applied\n[test-case-1]  Elapsed time: 0.083 seconds\n[test-case-2] Elapsed time: 1.134 seconds\n\nafter patch applied\n[test-case-1]  Elapsed time: 0.070seconds\n[test-case-2]  Elapsed time: 0.167 seconds\n\nReviewed-by: Masaki Saeki <saeki.masaki@po.ntts.co.jp>\nTested-by: Masaki Saeki <saeki.masaki@po.ntts.co.jp>\nSigned-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>","distinct":true,"url":"https://api.github.com/repos/liuy/sheepdog/commits/1108f0553b49dde360b5f92412e181a6eb30ed36"},{"sha":"d822075eec1d8acb5cfbb26304026ee167d94223","author":{"email":"eb58f5b673acb397722a8259c58efc507dd85d76@lab.ntt.co.jp","name":"Hitoshi Mitake"},"message":"sheep: use correct number of copies during reference decrement\n\nIn a case of nr_zones < nr_copies of deleted VDI, current sheep panics\nbecause it cannot obtain correct list of nodes which hold target\nledgers. This patch solves the problem.\n\nReported-by: Valerio Pachera <sirio81@gmail.com>\nTested-by: Valerio Pachera <sirio81@gmail.com>\nSigned-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>","distinct":true,"url":"https://api.github.com/repos/liuy/sheepdog/commits/d822075eec1d8acb5cfbb26304026ee167d94223"},{"sha":"15c7d823b8f24ff573ac98bf1db0db14e0f65bb8","author":{"email":"2939c9ef56fcdcbd401845aa93843f7e1bbf6b6f@foxmail.com","name":"Bingpeng Zhu"},"message":"sheep/http: check correct variable\n\nWe should check the return pointer of strstr().\n\n[Hitoshi: improve commit log a little bit]\n\nSigned-off-by: Bingpeng Zhu <bingpeng.zbp@alibaba-inc.com>\nSigned-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>","distinct":true,"url":"https://api.github.com/repos/liuy/sheepdog/commits/15c7d823b8f24ff573ac98bf1db0db14e0f65bb8"},{"sha":"049f89d29347cbb5bfbcef886eae6398639d79ba","author":{"email":"57ca957fcd9acc99115b904ffc70b4ff19db9401@gmail.com","name":"Vladislav Gorbunov"},"message":"script: fix systemd support\n\nSigned-off-by: Vladislav Gorbunov <vadikgo@gmail.com>\nReviewed-by: Vasiliy Tolstov <v.tolstov@selfip.ru>\nSigned-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>","distinct":true,"url":"https://api.github.com/repos/liuy/sheepdog/commits/049f89d29347cbb5bfbcef886eae6398639d79ba"},{"sha":"139ab59c214aee3d6f47492a350fc2fad31e78c2","author":{"email":"8394850d429a0e4e8473b32fa0e3517ffc7d0ee3@lab.ntt.co.jp","name":"Teruaki Ishizaki"},"message":"dog: fix segfault bug of getting snapshot for \"LOCK_STATE_SHARED\" VDI.\n\nAfter iSCSI initiator logins to the iSCSI target of the VDI,\ngetting snapshot for that volume causes segault.\nThis patch fixes false loop.\n\nSigned-off-by: Teruaki Ishizaki <ishizaki.teruaki@lab.ntt.co.jp>\nSigned-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>","distinct":true,"url":"https://api.github.com/repos/liuy/sheepdog/commits/139ab59c214aee3d6f47492a350fc2fad31e78c2"},{"sha":"e887c448df8ca5ea32e5883273903599336b9967","author":{"email":"6a789ce834c35ce3054497a11222b14e98f4e286@po.ntts.co.jp","name":"Saeki Masaki"},"message":"sheep/dog: move opcode SD_OP_READ_DEL_VDI from sheepdog proto to internal proto\n\nSD_OP_READ_DEL_VDI is used only dog&sheep communication.\nso move definition SD_OP_READ_DEL_VDI from sheepdog_proto.h to internal_proto.h\n\n[Hitoshi: modified commit log for correct description]\n\nSigned-off-by Masaki Saeki <saeki.masaki@po.ntts.co.jp>\nSigned-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>","distinct":true,"url":"https://api.github.com/repos/liuy/sheepdog/commits/e887c448df8ca5ea32e5883273903599336b9967"},{"sha":"da02b62855ee1ceac3f97d387bec9add20f08ff2","author":{"email":"57ca957fcd9acc99115b904ffc70b4ff19db9401@gmail.com","name":"Vladislav Gorbunov"},"message":"use systemd restart ability to monitor sheepdog daemon\n\nRestart sheepdog if the service process exits due to an uncaught signal\nnot specified as a clean exit status.\n\nSigned-off-by: Vladislav Gorbunov <vadikgo@gmail.com>\nReviewed-by: Vasiliy Tolstov <v.tolstov@selfip.ru>\nSigned-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>","distinct":true,"url":"https://api.github.com/repos/liuy/sheepdog/commits/da02b62855ee1ceac3f97d387bec9add20f08ff2"},{"sha":"56f9f409611406be6742a0f152c54e65ed21453e","author":{"email":"6a789ce834c35ce3054497a11222b14e98f4e286@po.ntts.co.jp","name":"Saeki Masaki"},"message":"dog: referencing uninitialized buffer during cluster format\n\nwhen executing dog cluster format,\nby referring to the memory area that is not initialized\nupdate_node_list() was an unintended behavior.\n\nSigned-off-by: Masaki Saeki <saeki.masaki@po.ntts.co.jp>\nSigned-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>","distinct":true,"url":"https://api.github.com/repos/liuy/sheepdog/commits/56f9f409611406be6742a0f152c54e65ed21453e"},{"sha":"4d18fd20b2dade08b6588db49c977327dd82f249","author":{"email":"75d547cc96937d13b87cf614e50d1ea059d60c0a@mejor.pl","name":"Marcin Mirosław"},"message":"lib, isa-l: solve build error of isa-l\n\nThis patch solves build problem at least on Gentoo[1] and solves\nignoring some enviroment variables like CC. Patch solves\n- hardcoding compiler to gcc instead use CC enviroment variable\n- ignoring CFLAGS\n- build error caused by passing incorrect macro name to compiler\n- unconditionally striping library, now isa-l library isn't striped\n- executable stack\n- turn on more verbose building, now invocation of compiler isn't\n  hidden\n\n[1] - http://lists.wpkg.org/pipermail/sheepdog-users/2014-November/002807.html\n\nSigned-off-by: Marcin Mirosław <marcin@mejor.pl>\nSigned-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>","distinct":true,"url":"https://api.github.com/repos/liuy/sheepdog/commits/4d18fd20b2dade08b6588db49c977327dd82f249"},{"sha":"ba3234fac31d402a3398dd2b09e23eb1e8c6f3f5","author":{"email":"aa187d5d25f18fbed14625f619a3a2ce89cb38ca@gmail.com","name":"Jinzhi Chen"},"message":"sheep/ops.c: fix problem caused by uninitialized backend storage in gateway\n\nwhen a new gateway(never joined a cluster before) joined a existing\nclsuter. `dog vdi object location` causes the new gateway exist\nbecause its backend storage is not initialized.\nthis patch solves this problems by checking whether a node is gateway\nin `local_oid_exist` fucntion. simple return `SD_RES_NO_OBJ` to avoid\nusing uninitialized pointer.\n\nSigned-off-by: Jinzhi Chen <nxtjinzhi@gmail.com>\nSigned-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>","distinct":true,"url":"https://api.github.com/repos/liuy/sheepdog/commits/ba3234fac31d402a3398dd2b09e23eb1e8c6f3f5"},{"sha":"fd9e4a28fad7c16b2237f4f48c9d264af192e40e","author":{"email":"8394850d429a0e4e8473b32fa0e3517ffc7d0ee3@lab.ntt.co.jp","name":"Teruaki Ishizaki"},"message":"sheepdog proto: add block_size_shift member to sheepdog internal data.\n\nThis patch adds a information of block_size_shift\nto sheepdog request, response, state.\n\nSigned-off-by: Teruaki Ishizaki <ishizaki.teruaki@lab.ntt.co.jp>\nSigned-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>","distinct":true,"url":"https://api.github.com/repos/liuy/sheepdog/commits/fd9e4a28fad7c16b2237f4f48c9d264af192e40e"},{"sha":"9c03b9bf7e55c0a5088ec40e82f99390e500921b","author":{"email":"8394850d429a0e4e8473b32fa0e3517ffc7d0ee3@lab.ntt.co.jp","name":"Teruaki Ishizaki"},"message":"sheep, dog: add \"block_size_shift\" option to cluster format command\n\nThis patch changes for specifying cluster default block_size_shift.\n\nSigned-off-by: Teruaki Ishizaki <ishizaki.teruaki@lab.ntt.co.jp>\nSigned-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>","distinct":true,"url":"https://api.github.com/repos/liuy/sheepdog/commits/9c03b9bf7e55c0a5088ec40e82f99390e500921b"},{"sha":"da6704be06118a1fc0f082323ada1a96b676244f","author":{"email":"8394850d429a0e4e8473b32fa0e3517ffc7d0ee3@lab.ntt.co.jp","name":"Teruaki Ishizaki"},"message":"sheep, dog: add selectable object_size support of VDI operation\n\nData object size was fix to 4MB and not selectable.\nThis patch add feature to select data object size of VDI.\n\nIf you want to use 8MB(2^23) data object_size, specify the\nblock_size_shift bit num to 23.\n\nex) dog vdi create -z 23 testvdi 100M\n\nSigned-off-by: Teruaki Ishizaki <ishizaki.teruaki@lab.ntt.co.jp>\nSigned-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>","distinct":true,"url":"https://api.github.com/repos/liuy/sheepdog/commits/da6704be06118a1fc0f082323ada1a96b676244f"},{"sha":"0dbbc3cf45e603d144f31a6bba736dbc11ee19d6","author":{"email":"eb58f5b673acb397722a8259c58efc507dd85d76@lab.ntt.co.jp","name":"Hitoshi Mitake"},"message":"dog: revert the change for output of \"dog vdi list\" manually\n\nThis patch is a temporal thing. The previous commit (ae3c78b9651cc2)\nintroduced change of \"dog vdi list\" command, it added a new field of\nblock size shift.\n\nIt breaks existing tests/fucntional. So this patch remove the\nchange. After the tests updated correctly, this patch can be reverted\nsimply.\n\nCc: Teruaki Ishizaki <ishizaki.teruaki@lab.ntt.co.jp>\nSigned-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>","distinct":true,"url":"https://api.github.com/repos/liuy/sheepdog/commits/0dbbc3cf45e603d144f31a6bba736dbc11ee19d6"}]}