diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-03-09 19:19:58 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:08:36 +0200 |
commit | a7b46a3db0931e88f837ae741afe9770c6fede49 (patch) | |
tree | 2fb4ae2e74a3307dca9b953036fb32ec22638012 /fs/bcachefs/move.c | |
parent | bcachefs: Fix bch2_dump_bset() (diff) | |
download | linux-a7b46a3db0931e88f837ae741afe9770c6fede49.tar.xz linux-a7b46a3db0931e88f837ae741afe9770c6fede49.zip |
bcachefs: Don't log errors that are expected during shutdown
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to '')
-rw-r--r-- | fs/bcachefs/move.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/move.c b/fs/bcachefs/move.c index dbcda8374692..a9a72963e1b7 100644 --- a/fs/bcachefs/move.c +++ b/fs/bcachefs/move.c @@ -242,7 +242,8 @@ int bch2_migrate_write_init(struct bch_fs *c, struct migrate_write *m, m->op.flags |= BCH_WRITE_ONLY_SPECIFIED_DEVS| BCH_WRITE_PAGES_STABLE| BCH_WRITE_PAGES_OWNED| - BCH_WRITE_DATA_ENCODED; + BCH_WRITE_DATA_ENCODED| + BCH_WRITE_FROM_INTERNAL; m->op.nr_replicas = 1; m->op.nr_replicas_required = 1; |