diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2016-09-09 01:50:41 -0800 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2017-01-18 21:40:16 -0900 |
commit | a9abff6f8cf2620cecb017c664be79aef4dabd2d (patch) | |
tree | 50fcafc37e3ab2dc989e47114247a022d4203e7a | |
parent | 65611c97a34ecd55ddb4c6b6fdebb051e813acb6 (diff) |
bcache: write superblock with FUA
will at least make torn superblock writes less likely
-rw-r--r-- | drivers/md/bcache/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/super.c b/drivers/md/bcache/super.c index fe8b0f44c7a9..e7eb7e8bfc81 100644 --- a/drivers/md/bcache/super.c +++ b/drivers/md/bcache/super.c @@ -413,7 +413,7 @@ retry: if (order > sb->page_order) goto retry; - err = "Bad checksum"; + err = "bad checksum reading superblock"; if (le64_to_cpu(sb->sb->csum) != __csum_set(sb->sb, le16_to_cpu(sb->sb->u64s), le64_to_cpu(sb->sb->version) < |