diff options
author | Leah Rowe <leah@libreboot.org> | 2023-01-28 20:27:24 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-01-28 20:30:34 +0000 |
commit | 3e150bf3032074ba4270131fd3e1fb5f0b1cc43e (patch) | |
tree | 3483f150183fb8c03658bffee50a5defc166c57d /blobs/xx30/16_ifd.bin | |
parent | 7e3a73558e8d1a410e225a0b102db38891a4990e (diff) |
util/nvmutil: cmd_swap(): write sequentually
the current code writes part 1 first, and part 0 next,
on the disk, due to the way the swap works.
with this change, swap still swaps the two parts of the file,
on disk, but writes the new file sequentially.
this change might speed up i/o on the file system, on HDDs.
on SSDs, this change likely makes no difference at all.
Diffstat (limited to 'blobs/xx30/16_ifd.bin')
0 files changed, 0 insertions, 0 deletions