Update to smaller block size

We're going to try using a smaller fixed block size to reduce complexity
in the file data extent code.

Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
Zach Brown
2016-07-29 13:56:21 -07:00
parent 6a97aa3c9a
commit 0af40547b5

View File

@@ -6,7 +6,7 @@
/* super block id */
#define SCOUTFS_SUPER_ID 0x2e736674756f6373ULL /* "scoutfs." */
#define SCOUTFS_BLOCK_SHIFT 14
#define SCOUTFS_BLOCK_SHIFT 12
#define SCOUTFS_BLOCK_SIZE (1 << SCOUTFS_BLOCK_SHIFT)
#define SCOUTFS_BLOCK_MASK (SCOUTFS_BLOCK_SIZE - 1)
@@ -102,7 +102,7 @@ struct scoutfs_key {
#define SCOUTFS_DIRENT_KEY 3
#define SCOUTFS_DATA_KEY 4
#define SCOUTFS_MAX_ITEM_LEN 2048
#define SCOUTFS_MAX_ITEM_LEN 512
struct scoutfs_treap_root {
__le16 off;