Repository navigation
Commit a260624
dm ioctl: allow message to return data
This patch introduces enhanced message support that allows the
device-mapper core to recognise messages that are common to all devices,
and for messages to return data to userspace.
Core messages are processed by the function "message_for_md". If the
device mapper doesn't support the message, it is passed to the target
driver.
If the message returns data, the kernel sets the flag
DM_MESSAGE_OUT_FLAG.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>1 parent 02cde50 commit a260624
2 files changed
Lines changed: 40 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1414 | 1414 | | |
1415 | 1415 | | |
1416 | 1416 | | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
1417 | 1433 | | |
1418 | 1434 | | |
1419 | 1435 | | |
| |||
1425 | 1441 | | |
1426 | 1442 | | |
1427 | 1443 | | |
| 1444 | + | |
| 1445 | + | |
1428 | 1446 | | |
1429 | 1447 | | |
1430 | 1448 | | |
| |||
1448 | 1466 | | |
1449 | 1467 | | |
1450 | 1468 | | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
1451 | 1473 | | |
1452 | 1474 | | |
1453 | 1475 | | |
| |||
1473 | 1495 | | |
1474 | 1496 | | |
1475 | 1497 | | |
1476 | | - | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
1477 | 1510 | | |
1478 | 1511 | | |
1479 | 1512 | | |
| |||
1653 | 1686 | | |
1654 | 1687 | | |
1655 | 1688 | | |
| 1689 | + | |
1656 | 1690 | | |
1657 | 1691 | | |
1658 | 1692 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
339 | 344 | | |
0 commit comments