diff options
| author | Caleb Sander Mateos <csander@purestorage.com> | 2026-01-08 02:19:44 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-01-12 09:16:38 -0700 |
| commit | a1805442674b85ff9d626965f828e4fd71a82b28 (patch) | |
| tree | 83b3582cba4dbc4089ae838857819f210e98ab26 /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | 24f8a44b797f03dfadb455138930523599d3c22a (diff) | |
selftests: ublk: support non-O_DIRECT backing files
A subsequent commit will add support for using a backing file to store
integrity data. Since integrity data is accessed in intervals of
metadata_size, which may be much smaller than a logical block on the
backing device, direct I/O cannot be used. Add an argument to
backing_file_tgt_init() to specify the number of files to open for
direct I/O. The remaining files will use buffered I/O. For now, continue
to request direct I/O for all the files.
Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
