Commit 7493b7e
committed
md/raid1: Atomic write support
JIRA: https://issues.redhat.com/browse/RHEL-73514
commit f2a38ab
Author: John Garry <john.g.garry@oracle.com>
Date: Mon Nov 18 10:50:17 2024 +0000
md/raid1: Atomic write support
Set BLK_FEAT_ATOMIC_WRITES_STACKED to enable atomic writes.
For an attempt to atomic write to a region which has bad blocks, error
the write as we just cannot do this. It is unlikely to find devices which
support atomic writes and bad blocks.
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20241118105018.1870052-5-john.g.garry@oracle.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Nigel Croxon <ncroxon@redhat.com>1 parent 5e40b2e commit 7493b7e
1 file changed
+18
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1571 | 1571 | | |
1572 | 1572 | | |
1573 | 1573 | | |
1574 | | - | |
| 1574 | + | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
| 1586 | + | |
| 1587 | + | |
| 1588 | + | |
1575 | 1589 | | |
1576 | 1590 | | |
1577 | 1591 | | |
| |||
1657 | 1671 | | |
1658 | 1672 | | |
1659 | 1673 | | |
1660 | | - | |
| 1674 | + | |
| 1675 | + | |
1661 | 1676 | | |
1662 | 1677 | | |
1663 | 1678 | | |
| |||
3224 | 3239 | | |
3225 | 3240 | | |
3226 | 3241 | | |
| 3242 | + | |
3227 | 3243 | | |
3228 | 3244 | | |
3229 | 3245 | | |
| |||
0 commit comments