[1/3] Revert "fs/fuse kio: add warning about jumbo chunks"

Submitted by Pavel Butsykin on March 26, 2019, 3:07 p.m.

Details

Message ID 20190326150711.21664-2-pbutsykin@virtuozzo.com
State New
Series "fix jumbo chunk warning"
Headers show

Commit Message

Pavel Butsykin March 26, 2019, 3:07 p.m.
This reverts commit afb8d534110dbe203e4ae6385cef79b38c9e4771.

Signed-off-by: Pavel Butsykin <pbutsykin@virtuozzo.com>
---
 fs/fuse/kio/pcs/pcs_fuse_kdirect.c | 3 ---
 fs/fuse/kio/pcs/pcs_mds_prot.h     | 2 --
 2 files changed, 5 deletions(-)

Patch hide | download patch | download mbox

diff --git a/fs/fuse/kio/pcs/pcs_fuse_kdirect.c b/fs/fuse/kio/pcs/pcs_fuse_kdirect.c
index 104fab25692b..875ad18df4a7 100644
--- a/fs/fuse/kio/pcs/pcs_fuse_kdirect.c
+++ b/fs/fuse/kio/pcs/pcs_fuse_kdirect.c
@@ -318,9 +318,6 @@  static int kpcs_do_file_open(struct fuse_conn *fc, struct file *file, struct ino
 
 	if (info.sys.map_type != PCS_MAP_PLAIN) {
 		TRACE("Unsupported map_type:%x, ignore\n", info.sys.map_type);
-
-		if (info.sys.map_type & PCS_JUMBO_CHUNK_FLAG)
-			pr_warn_once("kio: fpath doesn't support jumbo chunks\n");
 		return 0;
 	}
 
diff --git a/fs/fuse/kio/pcs/pcs_mds_prot.h b/fs/fuse/kio/pcs/pcs_mds_prot.h
index 4aca1e970170..80c20fde1537 100644
--- a/fs/fuse/kio/pcs/pcs_mds_prot.h
+++ b/fs/fuse/kio/pcs/pcs_mds_prot.h
@@ -259,8 +259,6 @@  enum
 	PCS_MAP_LS = PCS_MAP_COMBINED, /* Log structured storage */
 };
 
-#define PCS_JUMBO_CHUNK_FLAG (1ULL << 63) /* Chunks size > 4G */
-
 /* Max inline file size */
 #define PCS_MAX_INLINE_SIZE 0x100000 /* 1Mb */