Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-8856 osd: mark specific transactions netfree
[fs/lustre-release.git]
/
lustre
/
utils
/
libmount_utils_zfs.c
diff --git
a/lustre/utils/libmount_utils_zfs.c
b/lustre/utils/libmount_utils_zfs.c
index
04b1d61
..
148260c
100644
(file)
--- a/
lustre/utils/libmount_utils_zfs.c
+++ b/
lustre/utils/libmount_utils_zfs.c
@@
-543,6
+543,9
@@
static char *zfs_mkfs_opts(struct mkfs_opts *mop, char *str, int len)
if (strlen(mop->mo_mkfsopts) != 0)
snprintf(str, len, " -o %s", mop->mo_mkfsopts);
+ if (mop->mo_device_kb)
+ snprintf(str, len, " -o quota=%llu",
+ mop->mo_device_kb * 1024);
return str;
}