[Lustre-devel] Completion callbacks

Liang Zhen Zhen.Liang at Sun.COM
Tue Aug 12 23:32:01 PDT 2008


Liang Zhen 写道:
>
> 2. we change ptlrpc_master_callback so that: it makes a copy of EV and 
> queue it in a
> FIFO and return, another thread process ev's in this FIFO and callback 
> one by one and
> we can guarantee events order and call real callbacks without lnet_lock
>   

We can even have an eq_callback_thread (or threads pool) in LNet,
lnet_enq_event_locked() enqueue event and wakeup the callback_thread,
so we don't need change ptlrpc at all.

>
> -devel
>   




More information about the lustre-devel mailing list