Skip to content

Commit

Permalink
cmd_dump: Open in noexcl mode
Browse files Browse the repository at this point in the history
no need to make it harder to dump than it needs to be

Signed-off-by: Kent Overstreet <[email protected]>
  • Loading branch information
Kent Overstreet committed Sep 1, 2024
1 parent b422b19 commit 1e058db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions c_src/cmd_dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ int cmd_dump(int argc, char *argv[])
int fd, opt;

opt_set(opts, direct_io, false);
opt_set(opts, noexcl, true);
opt_set(opts, read_only, true);
opt_set(opts, nochanges, true);
opt_set(opts, norecovery, true);
Expand Down

0 comments on commit 1e058db

Please sign in to comment.