(build, kext) Determine maximum I/O size at runtime

This commit is contained in:
Benjamin Fleischer 2015-02-01 17:34:59 +01:00
parent 07fcfda0be
commit a2ae358129
3 changed files with 3 additions and 19 deletions

View File

@ -79,7 +79,7 @@ function release_build
# Build distribution package
build_target_invoke distribution build -s 10.5 -d 10.5 -c Release \
--kext=10.5 --kext=10.6 --kext=10.7 --kext="10.8->10.7" --kext=10.9 --kext="10.10->10.9" \
--kext=10.5 --kext=10.6 --kext="10.7->10.6" --kext="10.8->10.6" --kext=10.9 --kext="10.10->10.9" \
--macfuse \
--code-sign-identity="${BUILD_TARGET_OPTION_CODE_SIGN_IDENTITY}" \
--product-sign-identity="${BUILD_TARGET_OPTION_PRODUCT_SIGN_IDENTITY}"

View File

@ -125,23 +125,7 @@
* File system interface
*/
#ifdef KERNEL
/*
* The maximum supported I/O size on Mac OS X 10.6 and earlier is 16 MiB. Mac
* OS X 10.7 and later support up to 32 MiB.
*/
#if VERSION_MAJOR < 11
#define FUSE_MAX_UPL_SIZE 4096
#else
#define FUSE_MAX_UPL_SIZE 8192
#endif
#else
/*
* The maximum supported UPL size of the user-space library is independent
* from the FUSE kernel extension's deployment target.
*/
#define FUSE_MAX_UPL_SIZE 8192
#endif
#define FUSE_MAX_UPL_SIZE 8192
/*
* This is the default block size of the virtual storage devices that are

2
kext

@ -1 +1 @@
Subproject commit 24009a2616c11129e81880365099391aba5bf93f
Subproject commit ef8a804e58bf3f82b82afe8fd0ed42034de27361