[LU-962] Add a feature to run a callback in ptlrpcd context Created: 04/Jan/12 Updated: 16/Aug/16 Resolved: 16/Aug/16 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.2.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Jinshan Xiong (Inactive) | Assignee: | Jinshan Xiong (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Rank (Obsolete): | 4773 | ||||
| Description |
|
We need this functionality for async OSC RPC to support This is something like fake req, but it should be more well encapsulated. The interfaces would be like: 1. void *ptlrpc_allocate_work(struct obd_import *imp, int (*cb)(const struct lu_env *, void *), void *cbdata); 2. int ptlrpc_run_work(void *handler); 3. void ptlrpc_destroy_work(void *handler); |
| Comments |
| Comment by Jinshan Xiong (Inactive) [ 04/Jan/12 ] |
|
patch is at: http://review.whamcloud.com/#change,1917 |
| Comment by Build Master (Inactive) [ 10/Jan/12 ] |
|
Integrated in Result = FAILURE
|
| Comment by Build Master (Inactive) [ 10/Jan/12 ] |
|
Integrated in Result = FAILURE
|
| Comment by Build Master (Inactive) [ 10/Jan/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Build Master (Inactive) [ 10/Jan/12 ] |
|
Integrated in Result = FAILURE
|
| Comment by Build Master (Inactive) [ 10/Jan/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Build Master (Inactive) [ 10/Jan/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Build Master (Inactive) [ 10/Jan/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Build Master (Inactive) [ 10/Jan/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Build Master (Inactive) [ 10/Jan/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Build Master (Inactive) [ 10/Jan/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Build Master (Inactive) [ 10/Jan/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Build Master (Inactive) [ 10/Jan/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Build Master (Inactive) [ 10/Jan/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Build Master (Inactive) [ 10/Jan/12 ] |
|
Integrated in Result = FAILURE
|
| Comment by James A Simmons [ 16/Aug/16 ] |
|
Looks like this work was completed long ago |