)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"6f61b71fb0e48bce0324c4f9fcaf0a0275ea3c4b","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Try to leverage cache software, such as Open CAS, use high performance"},{"line_number":10,"context_line":"disk (e.g. Intel Optane SSD) as the cache in compute node locally for"},{"line_number":11,"context_line":"low performance volume that allocated by cinder from remote backend"},{"line_number":12,"context_line":"storage."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: I70b82a25b57266ad4285f995c21aebce8a020812"},{"line_number":15,"context_line":"Signed-off-by: Liang Fang \u003cliang.a.fang@intel.com\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"3fa7e38b_41315558","line":12,"updated":"2020-02-17 18:56:49.000000000","message":"Next time you respin, please add\n\n Blueprint: support-volume-local-cache\n\nto the commit message.","commit_id":"13312c1f393b584abceef281663e74eb51e6e76f"}],"nova/virt/libvirt/driver.py":[{"author":{"_account_id":5754,"name":"Alex Xu","email":"hejie.xu@intel.com","username":"xuhj"},"change_message_id":"42918cabd366c65fdf7cc058967b778c9f8fad9f","unresolved":false,"context_lines":[{"line_number":1355,"context_line":"        # NOTE(LiangFang): If OCF is enabled in nova-cpu.conf, try to cache the"},{"line_number":1356,"context_line":"        # disk here Some concepts in OCF: coredisk means the disk to be cached;"},{"line_number":1357,"context_line":"        # casdisk means the disk emulated for the coredisk."},{"line_number":1358,"context_line":"        root_helper \u003d utils.get_root_helper()"},{"line_number":1359,"context_line":"        coredisk \u003d connection_info[\u0027data\u0027][\u0027device_path\u0027]"},{"line_number":1360,"context_line":"        LOG.info(\"coredisk\u003d%s\", coredisk)"},{"line_number":1361,"context_line":"        casdisk \u003d ocf.OcfCache(root_helper).map_casdisk(coredisk)"},{"line_number":1362,"context_line":"        LOG.info(\"casdisk\u003d%s\", casdisk)"},{"line_number":1363,"context_line":"        # replace the original core device with cas emulated device"},{"line_number":1364,"context_line":"        connection_info[\u0027data\u0027][\u0027device_path\u0027] \u003d casdisk"},{"line_number":1365,"context_line":""},{"line_number":1366,"context_line":"        try:"},{"line_number":1367,"context_line":"            self._attach_encryptor("}],"source_content_type":"text/x-python","patch_set":1,"id":"9fb8cfa7_b4efd7e7","line":1364,"range":{"start_line":1358,"start_character":8,"end_line":1364,"end_character":56},"updated":"2019-06-21 06:58:08.000000000","message":"I thought those should be in a volume driver. Probably exactly same code in volume driver.","commit_id":"a0549856134d0a0d4ccef7469b1cacfa3218e03e"},{"author":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"change_message_id":"72f7ad0d3651d68704613062701b500f9a9d2d87","unresolved":false,"context_lines":[{"line_number":1362,"context_line":"        casdisk \u003d ocf.OcfCache(root_helper).map_casdisk(coredisk)"},{"line_number":1363,"context_line":"        LOG.info(\"casdisk\u003d%s\", casdisk)"},{"line_number":1364,"context_line":"        # replace the original core device with cas emulated device"},{"line_number":1365,"context_line":"        connection_info[\u0027data\u0027][\u0027device_path\u0027] \u003d casdisk"},{"line_number":1366,"context_line":""},{"line_number":1367,"context_line":"        try:"},{"line_number":1368,"context_line":"            self._attach_encryptor("}],"source_content_type":"text/x-python","patch_set":2,"id":"3fa7e38b_4b0060ac","line":1365,"updated":"2019-10-22 14:28:04.000000000","message":"It feels wrong that this code is after vol.driver.connect_volume() call.","commit_id":"23c2aa0fab709320fa0cab1385af33f24e4f6c3f"},{"author":{"_account_id":28948,"name":"Liang Fang","email":"liang.a.fang@intel.com","username":"liang"},"change_message_id":"b4548e64375e1d150a2d57add84712b027f18db5","unresolved":false,"context_lines":[{"line_number":1362,"context_line":"        casdisk \u003d ocf.OcfCache(root_helper).map_casdisk(coredisk)"},{"line_number":1363,"context_line":"        LOG.info(\"casdisk\u003d%s\", casdisk)"},{"line_number":1364,"context_line":"        # replace the original core device with cas emulated device"},{"line_number":1365,"context_line":"        connection_info[\u0027data\u0027][\u0027device_path\u0027] \u003d casdisk"},{"line_number":1366,"context_line":""},{"line_number":1367,"context_line":"        try:"},{"line_number":1368,"context_line":"            self._attach_encryptor("}],"source_content_type":"text/x-python","patch_set":2,"id":"3fa7e38b_455c7d19","line":1365,"in_reply_to":"3fa7e38b_4b0060ac","updated":"2019-12-31 01:27:32.000000000","message":"vol_driver.connect_volume() mounts the remote volume to host, e.g. mount to /dev/sdc. OpenCAS is caching based on this mount point.","commit_id":"23c2aa0fab709320fa0cab1385af33f24e4f6c3f"}]}
