Commit f2a38ab
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 <[email protected]>
Signed-off-by: John Garry <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>1 parent fa6fec8 commit f2a38ab
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