/* This is much like hpsb_node_write(), except it ignores the response subaction and returns immediately. Can be used from atomic context.  */
static int sbp2util_node_write_no_wait(struct node_entry *ne, u64 addr, quadlet_t *buf, size_t len)
/* This is much like hpsb_node_write(), except it ignores the response subaction and returns immediately. Can be used from atomic context.  */
static int sbp2util_node_write_no_wait(struct node_entry *ne, u64 addr, quadlet_t *buf, size_t len)
{
	struct hpsb_packet *packet;
	packet = hpsb_make_writepacket(ne->host, ne->nodeid, addr, buf, len);
	if (!packet)
		return -ENOMEM;
	hpsb_set_packet_complete_task(packet, sbp2_free_packet, packet);
	hpsb_node_fill_packet(ne, packet);
	if (hpsb_send_packet(packet) < 0) {
		sbp2_free_packet(packet);
		return -EIO;
	}
	return 0;
}