summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2020-10-30 17:20:28 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2020-10-30 17:20:28 -0400
commit5cd29f05ca88270ad197e66874a2a86c89f8a3dc (patch)
tree760427b3e29cc79c8dc30b895a681fa9a76d481b
parent08b17fe6c75112bd09bf716cabc270e9b314ec3d (diff)
disable check for if pages are physically contiguousvmap_disable
-rw-r--r--fs/bcachefs/compress.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/compress.c b/fs/bcachefs/compress.c
index e6b65ceef38e..dee64667c6f0 100644
--- a/fs/bcachefs/compress.c
+++ b/fs/bcachefs/compress.c
@@ -64,7 +64,8 @@ static struct bbuf __bio_map_or_bounce(struct bch_fs *c, struct bio *bio,
BUG_ON(bvec_iter_sectors(start) > c->sb.encoded_extent_max);
- if (!IS_ENABLED(CONFIG_HIGHMEM) &&
+ if (0 &&
+ !IS_ENABLED(CONFIG_HIGHMEM) &&
bio_phys_contig(bio, start))
return (struct bbuf) {
.b = page_address(bio_iter_page(bio, start)) +