Files
scoutfs/kmod/src/options.h
T
Zach BrownandZach Brown 99bc710f03 scoutfs: remove tiny btree block option
It used to take significant effort to create very tall btrees because
they only stored small references to large LSM segments.  Now they store
all file system metadata and we can easily create sufficiently large
btrees for testing.  We don't need the tiny btree option.

Signed-off-by: Zach Brown <zab@versity.com>
2020-08-26 14:39:12 -07:00

26 lines
568 B
C

#ifndef _SCOUTFS_OPTIONS_H_
#define _SCOUTFS_OPTIONS_H_
#include <linux/fs.h>
#include <linux/in.h>
#include "format.h"
enum {
Opt_server_addr,
Opt_err,
};
struct mount_options {
struct sockaddr_in server_addr;
};
int scoutfs_parse_options(struct super_block *sb, char *options,
struct mount_options *parsed);
int scoutfs_options_setup(struct super_block *sb);
void scoutfs_options_destroy(struct super_block *sb);
u32 scoutfs_option_u32(struct super_block *sb, int token);
#define scoutfs_option_bool scoutfs_option_u32
#endif /* _SCOUTFS_OPTIONS_H_ */