Commit Graph

81 Commits

Author SHA1 Message Date
Liu Bo
5fc562c90d Add fallocate and use it instead of posix_fallocate if possible (#398)
fuse.ko has supported FALLOC_FL_KEEP_SIZE and FALLOC_FL_PUNCH_HOLE at this
moment and more modes may be supported in the future.

fallocate(2) supports modes while posix_fallocate(2) does not, so this
makes lo_fallocate use fallocate(2) instead.

Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
2019-04-18 09:55:42 +01:00
Nikolaus Rath
7bf25b6987 Bump minor version
cache_readdir flag is a new feature.
2019-04-07 15:21:53 +01:00
Nikolaus Rath
16337224ea Released 3.4.2 2019-03-09 11:16:00 +00:00
Nikolaus Rath
aa92a0f04f Released 3.4.1 2018-12-22 14:48:46 +00:00
Niels de Vos
2548c4b83a examples: add copy_file_range() support to passthrough(_fh)
The passthrough example filesystem can be used for validating the API
and the implementation in the FUSE kernel module.
2018-11-19 12:33:56 +00:00
Nikolaus Rath
3e2fcf3a63 Released 3.3.0 2018-11-06 18:57:47 +00:00
Nikolaus Rath
e469e1f8d1 Bump minimum Meson version
According to user reports (https://github.com/libfuse/libfuse/pull/300),
we need at least version 0.42.
2018-10-16 06:06:19 -07:00
Martin Blanchard
4a6a5daec0 Add build options for utils and examples
Allow skipping utils build & installation (-Dutils=false) and examples
build (-Dexamples=false). By default behaviour is unchanged (both are
true: utils and examples get build).
2018-09-28 14:48:33 +01:00
Nikolaus Rath
67e4914f93 Released 3.2.6 2018-08-31 13:48:04 +02:00
Martin Blanchard
52469901fc Make meson build scripts subprojects friendly
Multiple meson build scripts improvements including:
 * Bump meson requirement to 0.40.1 (0.40 already required)
 * Declare a dependency object for main library
 * Stop using add_global_arguments()
 * Various minor style fixes
2018-08-25 20:17:39 +01:00
Nikolaus Rath
932f4190e2 Released 3.2.5 2018-07-24 07:45:33 +01:00
Nikolaus Rath
9b74ebdf1b Released 3.2.4 2018-07-11 10:34:38 +01:00
Nikolaus Rath
0a519c9772 Use triple quotes for multiline string.
Single quotes will become an error in a future meson release.
2018-07-04 19:52:32 +01:00
Nikolaus Rath
88da32d665 Released 3.2.3 2018-05-11 15:01:09 +01:00
Tomohiro Kusumi
72ab7172b8 Fix build error on DragonFlyBSD (sync with other *BSD) (#240)
DragonFlyBSD has no "bsd" in uname, so add 'dragonfly' to conditionals.

-- e.g. uname(1) in DragonFlyBSD
[root@ ~]# uname
DragonFly
[root@ ~]# python -c "import sys; print(sys.platform)"
dragonfly5
2018-03-28 20:32:59 +01:00
Nikolaus Rath
ae2cb7bd98 Released 3.2.1 2017-11-14 20:48:15 +00:00
Joseph Dodge
f12d9686d4 Add idle_threads mount option. 2017-08-24 15:17:01 +02:00
Nikolaus Rath
9d4ec147f5 Use 'buildtype' to set debug/optimization options
Until now, running `mesonconf -D buildtype=debug` didn't have any
effect - which was confusing.
2017-08-22 11:16:45 +02:00
Nikolaus Rath
9578a512a6 Fix FreeBSD platform detection. 2017-08-08 15:40:09 +02:00
Nikolaus Rath
4be90a6f9a Released 3.1.1 2017-08-06 13:24:40 +02:00
Nikolaus Rath
67a904806e Fix FreeBSD detection in meson.build 2017-08-03 17:21:06 +02:00
Baptiste Daroussin
6694370547 FreeBSD: do not build utilities 2017-08-03 16:40:36 +02:00
Nikolaus Rath
430661d221 Produce more helpful message on OS-X and Windows.
Fixes: #186.
2017-08-03 13:44:32 +02:00
Nikolaus Rath
e870a0427a Added public fuse_lib_help(), bumped minor version 2017-07-08 12:48:08 +02:00
Nikolaus Rath
31ebb7b975 Don't use emacs' python-mode for meson files
There is a proper meson-mode now.
2017-07-07 15:48:50 +02:00
Nikolaus Rath
e90bb40f9c Released libfuse 3.0.2 2017-05-24 13:56:11 -07:00
Nikolaus Rath
3e14366834 Build tests by default. 2017-04-10 16:57:32 -07:00
Nikolaus Rath
4b58635d16 meson.build(): don't use absolute path for include_dir()
No longer supported in Meson 0.39.
2017-03-15 16:52:39 -07:00
Nikolaus Rath
13df952682 Document minimum required Meson version.
Fixes #138.
2017-03-15 16:13:39 -07:00
Nikolaus Rath
61c419d59a Pass _GNU_SOURCE as compiler argument
Defining it in the file causes trouble because Meson sometimes
inserts includes before the first line.
2017-01-23 12:06:25 -08:00
Nikolaus Rath
9f96db7125 Added experimental support for building with Meson+Ninja 2017-01-12 15:19:04 -08:00