code: def generate_vectored_io_stripe_metadata(local_path, metadata):
      # type: (blobxfer.models.upload.LocalPath, dict) -> dict
      
      md = {
          _JSON_KEY_VECTORED_IO: {
              _JSON_KEY_VECTORED_IO_MODE: _JSON_KEY_VECTORED_IO_STRIPE,
              _JSON_KEY_VECTORED_IO_STRIPE: {
                  _JSON_KEY_VECTORED_IO_STRIPE_TOTAL_SIZE: local_path.total_size,
                  _JSON_KEY_VECTORED_IO_STRIPE_OFFSET_START:
                  local_path.view.fd_start,
                  _JSON_KEY_VECTORED_IO_STRIPE_TOTAL_SLICES:
                  local_path.view.total_slices,
                  _JSON_KEY_VECTORED_IO_STRIPE_SLICE_ID:
                  local_path.view.slice_num,
                  _JSON_KEY_VECTORED_IO_STRIPE_NEXT: local_path.view.next,
              }
          }
      }
      return blobxfer.util.merge_dict(metadata, md)
docs: Generate vectored io stripe metadata dict
      :param blobxfer.models.upload.LocalPath local_path: local path
      :param dict metadata: existing metadata dict
      :rtype: dict
      :return: merged metadata dictionary