Commit 1ba101c
committed
Fix devdax_open_ipc_handle()
Fix devdax_open_ipc_handle() of the devdax provider
- producer and consumer should use two different /dev/dax devices,
because two separate processes cannot use the same range of memory
for memory allocations.
The same range of memory can be used only for IPC purposes.
Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>1 parent 80e55db commit 1ba101c
File tree
3 files changed
+19
-23
lines changed- src/provider
- test
3 files changed
+19
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | 445 | | |
460 | | - | |
| 446 | + | |
461 | 447 | | |
462 | | - | |
| 448 | + | |
463 | 449 | | |
464 | 450 | | |
465 | 451 | | |
466 | 452 | | |
467 | 453 | | |
468 | 454 | | |
469 | 455 | | |
470 | | - | |
| 456 | + | |
471 | 457 | | |
472 | 458 | | |
473 | 459 | | |
474 | 460 | | |
475 | 461 | | |
476 | 462 | | |
477 | 463 | | |
478 | | - | |
| 464 | + | |
479 | 465 | | |
480 | 466 | | |
481 | 467 | | |
482 | 468 | | |
483 | 469 | | |
484 | 470 | | |
485 | | - | |
| 471 | + | |
486 | 472 | | |
487 | 473 | | |
488 | 474 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
22 | 32 | | |
23 | 33 | | |
24 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments