summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
authorJohann Latocha2012-01-25 21:30:58 +0100
committerJohann Latocha2012-01-25 21:30:58 +0100
commit94704ea51d3b522f7de88080837e4c1acc820816 (patch)
tree2f7180a1c8fe39817501beedb335326a39ec5107 /src/config.h
parentServing more than one image. (diff)
downloaddnbd3-94704ea51d3b522f7de88080837e4c1acc820816.tar.gz
dnbd3-94704ea51d3b522f7de88080837e4c1acc820816.tar.xz
dnbd3-94704ea51d3b522f7de88080837e4c1acc820816.zip
[KERNEL] Multi device support
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h
index 2df4dab..2839bb5 100644
--- a/src/config.h
+++ b/src/config.h
@@ -27,6 +27,7 @@
// block device
#define KERNEL_SECTOR_SIZE 512
#define DNBD3_BLOCK_SIZE 4096
+#define MAX_NUMBER_DEVICES 8
// configuration file
#define DEFAULT_CONFIG_FILE "/etc/dnbd3-server.conf"
@@ -34,5 +35,4 @@
#define MAX_FILE_NAME 4096
#define MAX_FILE_ID 8
-
#endif /* CONFIG_H_ */