diff options
author | John Garry <john.g.garry@oracle.com> | 2024-11-18 10:50:18 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-11-19 10:30:02 -0700 |
commit | a1d9b4fd42d93f46c11e7e9d919a55a3f6ca6126 (patch) | |
tree | c49badbf5fdf1e11292bc0eca2969394e23f6b2a /net/lapb/lapb_subr.c | |
parent | f2a38abf5f1c5aeb3be8e9f4d3d815c867fff7ca (diff) |
md/raid10: 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-6-john.g.garry@oracle.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions