[00:45:59] *** Quits: lgalkax (lgalkax@nat/intel/x-jsemijadqoadypvg) (Quit: ZNC - http://znc.in) [00:53:54] *** Quits: alekseymmm (050811aa@gateway/web/freenode/ip.5.8.17.170) (Ping timeout: 252 seconds) [02:36:32] *** Joins: tkulasek (tkulasek@nat/intel/x-evxwpydtixjszbqg) [04:21:42] *** Quits: dlw (~Thunderbi@114.255.44.143) (Remote host closed the connection) [06:09:56] *** Quits: lhodev (~lhodev@66-90-218-190.dyn.grandenetworks.net) (Ping timeout: 268 seconds) [06:14:06] *** Joins: lhodev (~lhodev@66-90-218-190.dyn.grandenetworks.net) [07:41:32] *** Quits: lhodev (~lhodev@66-90-218-190.dyn.grandenetworks.net) (Ping timeout: 276 seconds) [08:02:00] bwalker: https://review.gerrithub.io/#/c/spdk/spdk/+/421078/ [08:28:10] *** Joins: lhodev (~lhodev@inet-hqmc02-o.oracle.com) [08:30:12] *** Quits: lhodev (~lhodev@inet-hqmc02-o.oracle.com) (Remote host closed the connection) [08:30:43] *** Joins: lhodev (~lhodev@inet-hqmc02-o.oracle.com) [08:32:44] *** Quits: lhodev (~lhodev@inet-hqmc02-o.oracle.com) (Remote host closed the connection) [08:33:16] *** Joins: lhodev (~lhodev@inet-hqmc02-o.oracle.com) [10:52:35] *** Quits: tkulasek (tkulasek@nat/intel/x-evxwpydtixjszbqg) (Ping timeout: 265 seconds) [14:09:10] *** Joins: travis-ci (~travis-ci@ec2-54-80-60-205.compute-1.amazonaws.com) [14:09:11] (spdk/v18.07) SPDK 18.07 (Ben Walker) [14:09:11] Diff URL: https://github.com/spdk/spdk/compare/v18.07 [14:09:11] *** Parts: travis-ci (~travis-ci@ec2-54-80-60-205.compute-1.amazonaws.com) () [14:09:50] *** Joins: travis-ci (~travis-ci@ec2-54-80-60-205.compute-1.amazonaws.com) [14:09:51] (spdk/master) SPDK 18.07 (Ben Walker) [14:09:51] Diff URL: https://github.com/spdk/spdk/compare/120c4f3c05a7...716ad0e389c3 [14:09:51] *** Parts: travis-ci (~travis-ci@ec2-54-80-60-205.compute-1.amazonaws.com) () [15:16:47] *** Quits: lhodev (~lhodev@inet-hqmc02-o.oracle.com) (Remote host closed the connection) [15:17:22] *** Joins: lhodev (~lhodev@66-90-218-190.dyn.grandenetworks.net) [16:04:52] *** Joins: Shuhei (caf6fc61@gateway/web/freenode/ip.202.246.252.97) [17:30:19] @jimharris, @bwalker, all: Very very elementary question, why __bdev_to_io_dev(bdev) and __bdev_from_io_dev(io_dev) adds +1 and -1 respectively in /bdev/bdev.c ? [17:31:43] bdev looks being located on the each derivative's first member without any explicit padding. [18:15:03] *** Quits: Shuhei (caf6fc61@gateway/web/freenode/ip.202.246.252.97) (Ping timeout: 252 seconds) [18:16:29] *** Joins: Shuhei (caf6fc61@gateway/web/freenode/ip.202.246.252.97) [20:03:08] @bwalker, @jimharris: Now I could understand the mechanism of __bdev_to_io_dev and __bdev_from_io_dev. [20:03:54] I understood that this is to use object oriented programming in C language in SPDK. [20:04:44] Kunal asked me in https://review.gerrithub.io/#/c/spdk/spdk/+/420818/. [20:05:27] Test passed and you approved but I didn't understand why this worked honestly. [20:08:44] In spdk_bdev_register, add +1 by using __bdev_to_io_dev. In raid_bdev, use the address without change. Hence both work. [20:09:30] I admired SPDK again. Thanks. [20:33:39] *** Quits: Shuhei (caf6fc61@gateway/web/freenode/ip.202.246.252.97) (Ping timeout: 252 seconds) [20:54:15] *** Joins: Shuhei (caf6fc61@gateway/web/freenode/ip.202.246.252.97)