Re: [PATCHSET] CUSE: implement CUSE, take #3
From: Miklos Szeredi
Date: Wed May 06 2009 - 05:34:09 EST
On Thu, 30 Apr 2009, Tejun Heo wrote:
> Tejun Heo wrote:
> >> I'll post the updated libfuse patch as well. Please let me know if
> >> you find anything wrong with the current patches.
> >
> > Looks good to me. Much prettier with two inits merged.
>
> Oh... what happened to CUSE_INIT_DONE?
By moving the CUSE_INIT reply processing into the ->end() callback,
the device initialization becomes synchronous with the process writing
the message into the cuse device.
This means, that the process can simply wait for the write() on the
device to complete before proceeding.
I've updated the libfuse patch so it calls ->init_done() after sending
the CUSE_INIT reply.
Thanks,
Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/