)]}'
{"ceph/templates/bin/_common_functions.sh.tpl":[{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"d6177353af4e18c6a73cb5ddd6597d651e7918ff","unresolved":false,"context_lines":[{"line_number":91,"context_line":"function hw_to_block {"},{"line_number":92,"context_line":"  DEV\u003d$1"},{"line_number":93,"context_line":"  if [ ! -b ${DEV} ]; then"},{"line_number":94,"context_line":"    SCSI\u003d`echo $DEV | sed \u0027s/^scsi@//i;s/\\./:/g;s/[^0-9:]//g\u0027`"},{"line_number":95,"context_line":"    SDEV\u003d`ls /sys/bus/scsi/devices/${SCSI}/block`"},{"line_number":96,"context_line":"    if [ ! -z $SDEV -a -b /dev/$SDEV ]; then"},{"line_number":97,"context_line":"      echo /dev/${SDEV}"}],"source_content_type":"text/x-smarty","patch_set":2,"id":"9f5c4f37_27f55bcc","line":94,"range":{"start_line":94,"start_character":30,"end_line":94,"end_character":34},"updated":"2017-09-22 18:26:00.000000000","message":"this should also work for pci devs.","commit_id":"e1aa7bf6e662e757e5c834aed71092a55e72effd"},{"author":{"_account_id":26441,"name":"dave kormann","email":"davek@research.att.com","username":"multics"},"change_message_id":"143982a1ab071172b57e44f847ff5b9be2b6d09b","unresolved":false,"context_lines":[{"line_number":91,"context_line":"function hw_to_block {"},{"line_number":92,"context_line":"  DEV\u003d$1"},{"line_number":93,"context_line":"  if [ ! -b ${DEV} ]; then"},{"line_number":94,"context_line":"    SCSI\u003d`echo $DEV | sed \u0027s/^scsi@//i;s/\\./:/g;s/[^0-9:]//g\u0027`"},{"line_number":95,"context_line":"    SDEV\u003d`ls /sys/bus/scsi/devices/${SCSI}/block`"},{"line_number":96,"context_line":"    if [ ! -z $SDEV -a -b /dev/$SDEV ]; then"},{"line_number":97,"context_line":"      echo /dev/${SDEV}"}],"source_content_type":"text/x-smarty","patch_set":2,"id":"7f515b1d_b0a3bc4f","line":94,"range":{"start_line":94,"start_character":30,"end_line":94,"end_character":34},"in_reply_to":"9f5c4f37_27f55bcc","updated":"2017-09-22 18:31:57.000000000","message":"Completely agree — I limited it to SCSI as I didn\u0027t have any devices that only showed up on PCI to test against.  If I can lay my hands on a system (or fire up a vm) to test on, I\u0027ll expand this to support PCI@... addresses.","commit_id":"e1aa7bf6e662e757e5c834aed71092a55e72effd"}],"tools/gate/funcs/disk.sh":[{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"d6177353af4e18c6a73cb5ddd6597d651e7918ff","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":7,"id":"7f515b1d_d0d078cc","updated":"2017-09-22 18:26:00.000000000","message":"can we remove this whole file - we should just have a single method for creating loopback devices.","commit_id":"73a136bdbd091895d5acc1e998313612c800a191"},{"author":{"_account_id":26441,"name":"dave kormann","email":"davek@research.att.com","username":"multics"},"change_message_id":"143982a1ab071172b57e44f847ff5b9be2b6d09b","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":7,"id":"7f515b1d_70ae642f","in_reply_to":"7f515b1d_d0d078cc","updated":"2017-09-22 18:31:57.000000000","message":"I only have it here because I wanted a quick test that didn\u0027t require me to wrestle with the complexity of getting iscsi working.  Once Renis has the iscsi gate scripts settled we\u0027ll just ditch this in a merge of our work.  So, \"yes, soon I hope.\"","commit_id":"73a136bdbd091895d5acc1e998313612c800a191"}]}
