1 2013-02-20 Miklos Szeredi <miklos@szeredi.hu>
3 * libfuse: change the type of fuse_ino_t from 'unsigned long' to
6 * libfuse: use O_CLOEXEC flag when opening /dev/fuse device.
7 Patch by Richard W.M. Jones
9 * libfuse: don't force -D_FILE_OFFSET_BITS=64 in pkgconfig file.
10 Patch by Richard W.M. Jones
12 2013-02-19 Miklos Szeredi <miklos@szeredi.hu>
14 * fuse_daemonize(): chdir to "/" even if not running in the
15 background for consistency. Reported by Vladimir Rutsky
17 2013-02-18 Miklos Szeredi <miklos@szeredi.hu>
19 * fuse_opt_parse(): when storing a newly allocated string for
20 format "%s", free the previous value stored at that location.
21 Reported by Marco Schuster
23 2013-02-07 Miklos Szeredi <miklos@szeredi.hu>
25 * libfuse: add readdirplus support in fuse_lowlevel_ops. Patch by
28 * libfuse: add poll_events to fuse_file_info. Patch by Enke Chen
30 * libfuse: fix fs cleanup. Reported by Eric Wong
32 * libfuse: pass security context options to kernel. Patch by
35 * libfuse: remove deprecated features:
36 - fuse_is_lib_option()
38 - fuse_set_getcontext_func()
45 - fuse_lowlevel_is_lib_option()
46 - fuse_operations.getdir()
47 - fuse_operations.utime()
48 - fuse_operations.utime_omit_ok
50 2013-02-06 Miklos Szeredi <miklos@szeredi.hu>
52 * libfuse: set close-on-exec flag on pipe file descriptors. Patch
55 * libfuse: add missing INIT flags
57 2013-02-05 Miklos Szeredi <miklos@szeredi.hu>
59 * libfuse: fix fuse_get_context() in non fuse threads. Reported
62 2013-02-04 Miklos Szeredi <miklos@szeredi.hu>
64 * libfuse: fix crash in unlock_path(). Patch by Ratna Manoj
66 * libfuse: fix the 'remember' option. The lru list was not
67 initialized for the "/" path. This resulted in remove_node_lru()
68 crashing on LOOKUP-DOTDOT. Patch by Madan Valluri
70 * libfuse: configure: detect new util-linux
72 * libfuse: Use AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER.
73 Patch by Anatol Pomozov
75 * libfuse: rename ./configure.in to ./configure.ac. Patch by
78 2012-10-01 Miklos Szeredi <miklos@szeredi.hu>
82 2012-10-01 Miklos Szeredi <miklos@szeredi.hu>
84 * Fix deadlock in libfuse. Running "svn update" on a fuse
85 filesystem could deadlock because of a bug in the way the paths
86 are locked. Reported by Kazuaki Anami
88 2012-08-23 Miklos Szeredi <miklos@szeredi.hu>
90 * Fix missing config.h in buffer.c. Reported by Matthew Gabeler-Lee
92 2012-08-14 Miklos Szeredi <miklos@szeredi.hu>
94 * Not unhashing the name in forget (commit on 2011-12-09) broke
95 the forget logic in a subtle way, resulting in "fuse internal
96 error: node NNN not found" and causing the filesystem daemon to
97 abort. Fix by incrementing the node refcount if nlookup goes from
98 zero to one. Reported by Kyle Lippincott
100 2012-08-13 Miklos Szeredi <miklos@szeredi.hu>
102 * Fix linking against GNU libiconv. Patch by Natanael Copa
104 2012-07-19 Miklos Szeredi <miklos@szeredi.hu>
106 * Start of 3.0 series. This is going to be a new major version of
107 the library breaking backward compatibility on the binary level as
108 well as the source level.
110 2012-07-19 Miklos Szeredi <miklos@szeredi.hu>
114 2012-07-19 Miklos Szeredi <miklos@szeredi.hu>
116 * Fix crash caused by freeing a stack address. Reported by Itay
119 2012-07-04 Miklos Szeredi <miklos@szeredi.hu>
121 * Fix install of mount.fuse from out-of-tree build. Patch by
124 * Fix build with automake >= 1.12.1. Patch by Olivier Blin
126 2012-04-24 Miklos Szeredi <miklos@szeredi.hu>
128 * Add fallocate operation. Only works on linux kernels 3.5 or
129 later. Patch by Anatol Pomozov
131 2012-05-16 Miklos Szeredi <miklos@szeredi.hu>
133 * Linking to a library that uses threads requires the application
134 to be linked with -pthreads otherwise some pthread functions will
135 be linked to stubs in glibc. So move -pthread from Libs.private
136 to Libs in fuse.pc. Reported by Werner Fink
138 * Fix the compile command in the examples. Reported by Luciano
141 2012-04-20 Miklos Szeredi <miklos@szeredi.hu>
145 2012-04-20 Miklos Szeredi <miklos@szeredi.hu>
147 * Add missing fuse_fs_flock to fuse_versionscript
149 2012-04-10 Miklos Szeredi <miklos@szeredi.hu>
151 * Check protocol version before sending notifications and return
152 -ENOSYS if a particular notification is not supported.
154 * Add 'flag_utime_omit_ok' flag to fuse_operations. If the
155 filesystem sets this flag then ->utimens() will receive UTIME_OMIT
156 and UTIME_NOW values as specified in utimensat(2).
158 2012-01-27 Miklos Szeredi <miklos@szeredi.hu>
160 * Interpret octal escape codes in options. Requested by Jan
163 2012-01-26 Miklos Szeredi <miklos@szeredi.hu>
165 * Add man pages for fusermount, mount.fuse and ulockmgr_server.
166 Lifted from the Debian package. The man pages were written by
167 Daniel Baumann and Bastien Roucaries
169 2012-01-13 Miklos Szeredi <miklos@szeredi.hu>
171 * Disable symbol versions on MacOSX. Patch by Anatol Pomozov
173 2012-01-02 Miklos Szeredi <miklos@szeredi.hu>
175 * Remove unnecessary mutex unlock at the end of multithreaded
178 2011-12-09 Miklos Szeredi <miklos@szeredi.hu>
180 * Fix hang in wait_on_path(). Reported by Ville Silventoinen
182 * Don't unhash name in FORGET. This resulted in ENOENT being
183 returned for unlinked but still open files if the kernel sent a
184 FORGET request for the parent directory.
186 * Free request in fuse_reply_data().
188 2011-12-08 Miklos Szeredi <miklos@szeredi.hu>
190 * Fix build if FUSE_NODE_SLAB is not defined. Patch by Emmanuel
193 * Check for availability of utimensat() function. Patch by
196 2011-12-07 Miklos Szeredi <miklos@szeredi.hu>
198 * Add fuse_lowlevel_notify_delete() which tells the kernel that a
199 file or directory is deleted. Patch by John Muir
201 2011-12-06 Miklos Szeredi <miklos@szeredi.hu>
203 * Update retrieve_reply() method
205 2011-12-05 Miklos Szeredi <miklos@szeredi.hu>
207 * Low level API: lock argument of fuse_reply_lock should have a
208 'const' qualifier. Reported by Shachar Sharon
210 * Add support for ioctl on directories. Reported by Antonio SJ
213 2011-10-13 Miklos Szeredi <miklos@szeredi.hu>
215 * Reply to request with ENOMEM in case of failure to allocate
216 request structure. Otherwise the task issuing the request will
217 just freeze up until the filesystem daemon is killed. Reported by
220 2011-09-23 Miklos Szeredi <miklos@szeredi.hu>
222 * Replace daemon() function with fork(). Patch by Anatol Pomozov
224 2011-08-26 Miklos Szeredi <miklos@szeredi.hu>
226 * If configured with --disable-mtab then don't call mount(8) from
227 libfuse to update the mtab. Reported by: James Sierp
229 2011-08-24 Miklos Szeredi <miklos@szeredi.hu>
231 * Use LRU list for cleaning up the cache if the "remember=T"
232 option was given. Patch by therealneworld@gmail.com
234 2011-07-06 Miklos Szeredi <miklos@szeredi.hu>
236 * Add ->flock() operation to low and high level interfaces. This
237 fixes problems with emulating flock() with POSIX locking.
238 Reported by Sebastian Pipping. As with lock/setlk/getlk most
239 filesystems don't need to implement this, as the kernel takes care
240 of file locking. The only reason to implement locking operations
241 is for network filesystems which want file locking to work between
244 2011-07-02 Sebastian Pipping <sebastian@pipping.org>
246 * Make xmp_utimens of examples "fusexmp" and "fusexmp_fh"
247 not follow symlinks as other layers do that already.
249 2011-06-02 Miklos Szeredi <miklos@szeredi.hu>
251 * Add "remember" option. This works similar to "noforget" except
252 that eventually the node will be allowed to expire from the cache.
253 Patch by therealneworld@gmail.com
255 2011-05-27 Miklos Szeredi <miklos@szeredi.hu>
257 * Check if splice/vmsplice are supported
259 2011-05-26 Miklos Szeredi <miklos@szeredi.hu>
261 * Remove -lrt -ldl from fuse.pc for dynamic linking since
262 libfuse.so is already linked with these libraries. Reported by:
265 2011-05-20 Miklos Szeredi <miklos@szeredi.hu>
267 * Cleaner build output. Patch by Reuben Hawkins
269 2011-05-19 Miklos Szeredi <miklos@szeredi.hu>
271 * Disable splice by default, add "splice_read", "splice_write" and
272 "splice_move" options. Keep the "no_splice_*" variants, which can
273 disable splice even if the filesystem explicitly enables it.
275 2011-04-15 Max Krasnyansky <maxk@kernel.org>
276 * Added support for "auto_unmount" option which unmounts the
277 filesystem automatically on process exit (or crash).
279 2011-03-30 Miklos Szeredi <miklos@szeredi.hu>
281 * Patches by Laszlo Papp fixing various issues found by the
284 2011-03-11 Miklos Szeredi <miklos@szeredi.hu>
286 * In case of failure to add to /etc/mtab don't umount. Reported
289 2011-02-02 Miklos Szeredi <miklos@szeredi.hu>
291 * libfuse: In fuse_session_loop_mt() don't pause when exiting the
292 worker threads. The pause() was added in 2.2.1 to prevent
293 segfault on pthread_cancel() on an exited, detached thread. Now
294 worker threads are not detached and pthread_cancel() should work
295 fine even after the thread exited. Reported by Boris Protopopov
297 2011-01-31 Miklos Szeredi <miklos@szeredi.hu>
299 * fusermount: chdir to / before performing mount/umount
301 * fusermount: only allow mount and umount if util-linux supports
304 2010-12-16 Miklos Szeredi <miklos@szeredi.hu>
306 * Highlevel lib: allow hash tables to shrink
308 * Highlevel lib: add slab allocation for node cache. This will
309 allow the memory used by the filesystem to grow and shrink
310 depending on how many inodes are currently cached.
312 2010-12-13 Miklos Szeredi <miklos@szeredi.hu>
314 * Highlevel lib: use dynamically resized hash table for looking up
317 2010-12-07 Miklos Szeredi <miklos@szeredi.hu>
319 * Allow batching of forget requests. This allows forget requests
320 to be processed faster and doesn't require a modification to fuse
321 filesystems. Reported by Terje Malmedal
323 * Add ->forget_multi() operation to the lowlevel API. The
324 filesystem may implement this to process multiple forget requests
327 * Fix the ambiguity of ioctl ABI on the kernel/userspace boundary
328 for 32bit vs. 64bit userspace
330 2010-11-10 Miklos Szeredi <miklos@szeredi.hu>
332 * Add new write_buf() method to the highlevel API. Similarly to
333 the lowlevel write_buf() method, this allows implementing zero
336 * Add a new read_buf() method to the highlevel API. This allows
337 returning a generic buffer from the read method, which in turn
338 allows zero copy reads.
340 * In fusexmp_fh implement the ->read_buf() and ->write_buf()
341 methods. Leave the ->read() and ->write() implementations for
342 reference, even though they are not necessary.
344 2010-11-08 Miklos Szeredi <miklos@szeredi.hu>
346 * Fix check for read-only fs in mtab update
348 * Open /dev/null for write instead of read for redirecting stdout
351 * If umount(8) supports --fake and --no-canonicalize (util-linux-ng
352 version 2.18 or later), and umount(2) supports the
353 UMOUNT_NOFOLLOW flag (linux kernel version 2.6.35 or later) then,
354 "fusermount -u" will call the umount(2) system call and use
355 "umount --fake ..." to update /etc/mtab
357 * Added --disable-legacy-umount option to configure. This
358 disables the runtime checking of umount(8) version. When built
359 with this option then "fusermount -u" will fail if umount(8)
360 doesn't support the --fake and --no-canonicalize options.
362 * Fix fuse_buf_copy() if already at the end of the buffers
364 * Add new ->write_buf() method to low level interface. This
365 allows passig a generic buffer, either containing a memory buffer
366 or a file descriptor. This allows implementing zero copy writes.
368 * Add fuse_session_receive_buf() and fuse_session_process_buf()
369 which may be used in event loop implementations to replace
370 fuse_chan_recv() and fuse_session_process() respectively.
372 * Remove unnecessary restoring of current working directory in
375 * Add ctx->pid to debug output
377 * Fix st_nlink value in high level lib if file is unlinked but
380 * libfuse: add store request. Request data to be stored in the
381 kernel buffers for a given inode.
383 * libfuse: add retrieve request. Retrieve data stored in the
384 kernel buffers for a given inode.
386 2010-10-14 Miklos Szeredi <miklos@szeredi.hu>
388 * Use LTLIBICONV when linking libfuse. This fixes building against
389 uclibc + libiconv. Patch by Natanael Copa
391 2010-10-05 Miklos Szeredi <miklos@szeredi.hu>
393 * Add missing argument check in ulockmgr.c to prevent calling
394 ulockmgr_server with illegal arguments. This would cause an ever
395 growing list of ulockmgr_server processes with an endless list of
396 open files which finally exceeds the open file handle limit.
397 Patch by Markus Ammer
399 2010-09-28 Miklos Szeredi <miklos@szeredi.hu>
401 * Fix ambiguous symbol version for fuse_chan_new.
402 fuse_versionscript included fuse_chan_new in both FUSE_2.4 and
403 FUSE_2.6. Remove the FUSE_2.4, which is invalid.
405 2010-09-28 Miklos Szeredi <miklos@szeredi.hu>
407 * Fix option escaping for fusermount. If the "fsname=" option
408 contained a comma then the option parser in fusermount was
409 confused (Novell bugzilla #641480). Fix by escaping commas when
410 passing them over to fusermount. Reported by Jan Engelhardt
412 2010-08-27 Miklos Szeredi <miklos@szeredi.hu>
414 * Add NetBSD support. Patch from Emmanuel Dreyfus
416 2010-07-12 Miklos Szeredi <miklos@szeredi.hu>
418 * libfuse: add buffer interface. Add a generic buffer interface
419 for use with I/O. Buffer vectors are supplied and each buffer in
420 the vector may be a memory pointer or a file descriptor.
422 * The fuse_reply_fd() interface is converted to using buffers.
424 2010-06-23 Miklos Szeredi <miklos@szeredi.hu>
426 * Make the number of max background requests and congestion
427 threshold tunable. New options are "max_background" and
428 "congestion_threshold". Only effective on linux kernel versions
429 2.6.32 or greater. Patch by Csaba Henk
431 2010-06-17 Miklos Szeredi <miklos@szeredi.hu>
433 * Add fuse_reply_fd() reply function to the low level interface.
434 On linux version 2.6.35 or greater this will use splice() to move
435 data directly from a file descriptor to the fuse device without
436 needing to go though a userspace buffer. With the
437 FUSE_REPLY_FD_MOVE flag the kernel will attempt to move the data
438 directly into the filesystem's cache. On earlier kernels it will
439 fall back to an intermediate buffer. The options
440 "no_splice_write" and "no_splice_move" can be used to disable
441 splicing and moving respectively.
443 2010-06-15 Miklos Szeredi <miklos@szeredi.hu>
445 * Fix out-of-source build. Patch by Jörg Faschingbauer
447 * Add a "nopath" option and flag, indicating that path argument
448 need not be calculated for the following operations: read, write,
449 flush, release, fsync, readdir, releasedir, fsyncdir, ftruncate,
450 fgetattr, lock, ioctl and poll.
452 2010-05-10 Miklos Szeredi <miklos@szeredi.hu>
454 * Remove "chmod root" from install of fusermount. Reported by
457 2010-04-26 Miklos Szeredi <miklos@szeredi.hu>
461 2010-04-26 Miklos Szeredi <miklos@szeredi.hu>
463 * Fix checking for symlinks in umount from /tmp. Reported by Al
466 * Fix umounting if /tmp is a symlink. Reported by Franco Broi
468 2010-02-18 Miklos Szeredi <miklos@szeredi.hu>
470 * Fix definition of FUSE_OPT_END for C++. Reported by Tim
473 2010-02-03 Miklos Szeredi <miklos@szeredi.hu>
475 * Fix stack alignment for clone()
477 2010-02-01 Miklos Szeredi <miklos@szeredi.hu>
481 2010-02-01 Miklos Szeredi <miklos@szeredi.hu>
483 * Using "--no-canonicalize" with umount(8) conflicts with the race
484 fix, sinceit assumes the supplied path is absolute, while the race
485 fix relies on the path being relative to the current directory.
486 Reported by Tom Rindborg
488 2010-01-26 Miklos Szeredi <miklos@szeredi.hu>
492 2010-01-21 Miklos Szeredi <miklos@szeredi.hu>
494 * Fix race if two "fusermount -u" instances are run in parallel.
495 Reported by Dan Rosenberg
497 * Make sure that the path to be unmounted doesn't refer to a
500 2010-01-14 Miklos Szeredi <miklos@szeredi.hu>
502 * Fix compile error on FreeBSD. Patch by Jay Sullivan
504 2009-12-17 Miklos Szeredi <miklos@szeredi.hu>
506 * Use '--no-canonicalize' option of mount(8) (available in
507 util-linux-ng version 2.17 or greater) to avoid calling
508 readling(2) on the newly mounted filesystem before the mount
509 procedure is finished. This has caused a deadlock if "audit" was
510 enabled in the kernel. Also use '--no-canonicalize' for umount to
511 avoid touching the mounted filesystem.
513 2009-09-11 Miklos Szeredi <miklos@szeredi.hu>
517 2009-08-25 Miklos Szeredi <miklos@szeredi.hu>
519 * Fix missing versioned symbol fuse_get_context@FUSE_2.2
521 2009-08-18 Miklos Szeredi <miklos@szeredi.hu>
525 2009-08-18 Miklos Szeredi <miklos@szeredi.hu>
527 * Add missing fuse_session_data to versionscript
529 * Make sure all global symbols are prefixed with "fuse_" or "cuse_"
531 2009-07-16 Miklos Szeredi <miklos@szeredi.hu>
533 * Clarify how the protocol version should be negotiated between
534 kernel and userspace. Notably libfuse didn't correctly handle the
535 case when the supported major versions didn't match
537 * Add missing pthread link for libulockmgr. Patch by Petr Salinger
539 2009-07-02 Miklos Szeredi <miklos@szeredi.hu>
541 * The context is extended with a 'umask' field. The umask is sent
542 for mknod, mkdir and create requests by linux kernel version
543 2.6.31 or later, otherwise the umask is set to zero. Also
544 introduce a new feature flag: FUSE_CAP_DONT_MASK. If the kernel
545 supports this feature, then this flag will be set in conn->capable
546 in the ->init() method. If the filesystem sets this flag in in
547 conn->want, then the create modes will not be masked.
549 * Add low level interfaces for lookup cache and attribute
550 invalidation. This feature is available in linux kernels 2.6.31
551 or later. Patch by John Muir
553 * Kernel interface version is now 7.12
555 * fusermount: Do not silently ignore command line arguments.
556 Patch by Sebastian Harl
558 2009-06-19 Miklos Szeredi <miklos@szeredi.hu>
560 * Released 2.8.0-pre3
562 2009-06-19 Miklos Szeredi <miklos@szeredi.hu>
564 * Add fuse_getgroups (high level lib) and fuse_req_getgroups (low
565 level lib) functions to query the supplementary group IDs for the
566 current request. Currently this is implemented on Linux by
567 reading from the /proc filesystem.
569 2009-06-18 Miklos Szeredi <miklos@szeredi.hu>
571 * Add "noforget" option to high level lib to prevent ESTALE errors
572 on NFS exported filesystems. This result in paths being cached
573 forever, resulting in ever growing memory usage. Use with care.
575 * Add "no_remote_lock" option to disable remote file locking even
576 if the filesystem implements it. With this option locking
577 primitives (flock, lockf, fcntl(F_SETLK)) will still work, but
578 will ignore remotely locked files.
580 * CUSE patches from Tejun Heo:
582 * Unrestricted ioctl support left some debris. Clean them up:
583 o No reason to pass around pointer to flags. Pass flags directly.
584 o Clean up comment and prototype parameter names.
585 o fuse_lib_ioctl() didn't reply when get_path() failed. Fix it.
586 o Remove unused variables {in|out}_iov from fuse_lib_ioctl().
588 * Add fuse_reply_ioctl_iov()
590 * Move fuse_session, fuse_req and fuse_ll definitions to fuse_i.h
591 and make send_reply_iov() and fuse_setup_common() global (also in
592 fuse_i.h). These will be used by CUSE support.
594 * Restructure fuse_ll_process()
596 * Implement libfuse side of CUSE support. CUSE uses subset of FUSE
597 operations as dir operations don't make sense for CUSE where one
598 instance implements single character device.
600 CUSE support comes with its own cuse_lowevel_ops and related
601 initialization and helper functions. Except for initialization, it
602 usage is basically identical to FUSE.
604 This patch also adds example/cusexmp.c which can create a character
605 device with name and device number specified on command line. The
606 created device itself is pretty boring. It's a bit bucket supporting
607 read, write and access via ioctl.
609 2009-06-16 Miklos Szeredi <miklos@szeredi.hu>
611 * Add missing fuse_reply_bmap to versionscript. Debian
612 Bug#531329. Reported by Goswin Brederlow
614 2009-05-27 Miklos Szeredi <miklos@szeredi.hu>
616 * Don't call forget_node() if the lookup was negative and write()
617 for the reply returned ENOENT. Reported by John Haxby
619 2009-05-25 Miklos Szeredi <miklos@szeredi.hu>
621 * Add FUSE_CAP_EXPORT_SUPPORT to fuse_common.h
623 2009-05-08 Miklos Szeredi <miklos@szeredi.hu>
625 * Fix missing newlines in some printfs
627 * Fix 'make install-strip'. Reported by Dominick Layfield
629 2009-01-05 Miklos Szeredi <miklos@szeredi.hu>
631 * Released 2.8.0-pre2
633 2008-12-08 Miklos Szeredi <miklos@szeredi.hu>
635 * Implement poll support. Patch by Tejun Heo
637 * Add missing setattr flags to <fuse_lowlevel.h>.
639 * Only pass valid flags to ->setattr().
641 2008-12-05 Miklos Szeredi <miklos@szeredi.hu>
643 * Implement ioctl support. On high level interface only
644 "restricted" ioctls are supported (which are defined with the
645 _IO(), _IOR(), _IOW() or _IOWR() macros). Unrestricted ioctls
646 will only be allwed to CUSE (Character Device in Userspace)
647 servers. Patch by Tejun Heo
649 2008-11-28 Miklos Szeredi <miklos@szeredi.hu>
651 * If open sets fi->nonseekable, libfuse will tell the kernel that
652 the file is not seekable. Patch by Tejun Heo
654 2008-11-19 Miklos Szeredi <miklos@szeredi.hu>
656 * lowlevel lib: fix deadlock if fuse_reply_* is called from the
657 interrupt handling function. Reported by Tero Marttila
659 2008-10-16 Miklos Szeredi <miklos@szeredi.hu>
661 * Allow commas in options to be escaped with a backslash
663 * Add new function: fuse_opt_add_opt_escaped()
665 * Add missing fuse_reply_bmap() to the version script
667 2008-10-14 Miklos Szeredi <miklos@szeredi.hu>
669 * Pass current file flags to read and write operations
671 2008-07-24 Miklos Szeredi <miklos@szeredi.hu>
673 * Clean up debug output in highlevel lib
675 2008-07-10 Miklos Szeredi <miklos@szeredi.hu>
677 * Released 2.8.0-pre1
679 2008-06-27 Miklos Szeredi <miklos@szeredi.hu>
681 * Fix handling of (no)suid and (no)dev options if filesystem is
682 mounted from /etc/fstab or via mount(8). Reported by Jan Ondrej.
684 * Skip calling mount(8) if /etc/mtab doesn't exist or if it's on a
685 read-only filesystem. This works around issues with certain mount
686 implementations. Reported by Szabolcs Szakacsits.
688 2008-06-16 Miklos Szeredi <miklos@szeredi.hu>
690 * Remove fuse kernel module sources. Linux 2.6.27 will support
693 2008-06-10 Miklos Szeredi <miklos@szeredi.hu>
695 * Fix theoretical infinite loops in libfuse. Reported by Szabolcs
698 * Fix missing <sys/param.h> include for PATH_MAX. Reported by
701 2008-05-23 Miklos Szeredi <miklos@szeredi.hu>
703 * Fix mounting over symlink. Reported by Szabolcs Szakacsits
705 2008-05-09 Miklos Szeredi <miklos@szeredi.hu>
707 * Don't allow bigger than 4kB writes by default on 2.6.26 and
708 later kernels, so that filesystems not expecting this are not
709 broken on a kernel upgrade. Provide a 'big_writes' mount option
710 to enable this feature. In future API revisions this may become
713 2008-04-09 Miklos Szeredi <miklos@szeredi.hu>
715 * Update warning message for missing newline at end of fuse.conf
717 * Update debug message for successful operation to not include the
720 2008-04-08 Miklos Szeredi <miklos@szeredi.hu>
722 * Update error message for missing mountpoint parameter. Reported
725 2008-04-04 Miklos Szeredi <miklos@szeredi.hu>
727 * Print library version information to debug output
729 * Highlevel lib: don't limit paths to 4095 characters
731 2008-03-25 Miklos Szeredi <miklos@szeredi.hu>
733 * Fix memory leaks on mount. Patch by Szabolcs Szakacsits
735 2008-03-19 Miklos Szeredi <miklos@szeredi.hu>
737 * Fix missing pthread_mutex_destroy in error path of
738 fuse_lib_opendir(). Patch by Szabolcs Szakacsits
740 2008-03-07 Miklos Szeredi <miklos@szeredi.hu>
742 * Add queuing on contention to per-node lock algorithm, to avoid
745 * Only enable cancelation when reading a request, otherwise
746 cancellation could happen with a mutex held, which could hang the
749 2008-02-08 Miklos Szeredi <miklos@szeredi.hu>
751 * Block SIGCHLD when executing mount and umount
753 * fusexmp_fh: avoid unnecessary seeking in readdir
755 * Update kernel interface to 7.9:
757 * Support receiving file handle from kernel in GETATTR request
759 * Allow operations with a NULL path argument, if the filesystem
762 * Add support atomic open(O_TRUNC)
764 * Support the st_blksize field in struct stat
766 * If the "FUSE_THREAD_STACK" environment is set, initialize the
767 stack size of threads by this value. Patch by Florin Malita
769 * Add per-node locking, instead of a global tree lock to protect
770 the path from changing during operations. Original patch by
773 2008-02-03 Csaba Henk <csaba.henk@creo.hu>
776 - string formatting fixes
777 - exit if mounting has failed
778 (in FreeBSD a mount failure is not critical per se, as the daemon
779 still could be mounted externally, but waiting for such an event
780 is more confusing than fruitful)
781 - ditch the kvm(8) stuff and simply use forced unmount which just
783 - prettify option specifications
784 - add "-onosync_unmount" kernel option
786 2008-01-07 Csaba Henk <csaba.henk@creo.hu>
789 - refine device closing in a race-free way
790 - add support for "-osubtype" on FreeBSD
792 * makeconf.sh: make it work under FreeBSD
794 2008-01-03 Csaba Henk <csaba.henk@creo.hu>
796 * lib/mount_bsd.c: close device before unmount
797 (cf. lib/mount.c rev. 1.43) and fix some warnings
799 2007-12-23 Miklos Szeredi <miklos@szeredi.hu>
801 * Fix './configure --disable-static'. Patch from Ismail Dönmez
803 2007-12-17 Miklos Szeredi <miklos@szeredi.hu>
807 2007-12-12 Miklos Szeredi <miklos@szeredi.hu>
809 * Fix kernel module compile for 2.6.24
811 * Invalidate attributes of parent directory after create(), since
812 the modification time changes. Invalidate attributes on rename,
813 since some filesystems may update st_ctime. Reported by Szabolcs
816 * Fix NFS exporting to handle 64bit node IDs
818 * Disable old symbol versions if __UCLIBC__ is defined. If a
819 symbol in a library has multiple versions, the runtime linker in
820 uClibc seems to randomly choose between them.
822 * Remove erroneous 'fuse_opt_insert_arg@FUSE_2_5' from
823 fuse_version_script. fuse_opt_free_args() was added in fuse-2.6.
825 * Close fuse device file descriptor before calling umount(),
826 preventing a deadlock when umount is synchronous. Reported by
829 2007-11-12 Miklos Szeredi <miklos@szeredi.hu>
831 * 'fusermount -u' did not umount the filesystem if /etc/mtab was a
832 symlink. This bug was introduced in 2.7.1 by "Don't call
833 /bin/[u]mount if /etc/mtab is a symlink". Found by robertsong.
835 2007-10-16 Miklos Szeredi <miklos@szeredi.hu>
839 2007-10-16 Miklos Szeredi <miklos@szeredi.hu>
841 * Clarify licence version to be "LGPLv2" for the library
845 * After mount set nlink attribute for the root inode to 1
847 * Fix wake up of task waiting for a reserved request
849 * Fix allowing setattr, listxattr and statfs for other users
851 2007-09-18 Miklos Szeredi <miklos@szeredi.hu>
853 * Add missing context initialization in fuse_fs_chmod(). Bug
856 * Fix kernel module compilation for 2.6.23. Based on patch by
859 2007-09-04 Philippe Elie <phil.el@wanadoo.fr>
861 * lib/fuse_lowlevel.c: fix a fuse_req leak in do_forget()
863 2007-07-31 Miklos Szeredi <miklos@szeredi.hu>
865 * Work around hotplug issue, that it calls filesystem with file
866 descriptors 0, 1 and 2 not open. Tracked down by Leif Johnson
868 2007-07-25 Miklos Szeredi <miklos@szeredi.hu>
870 * Don't call /bin/[u]mount if /etc/mtab is a symlink. Reported by
873 * Also don't touch /etc/mtab if it is within the mounted
874 filesystem. Suggested by Jeffrey Law
876 2007-07-12 Miklos Szeredi <miklos@szeredi.hu>
878 * Reset args->argc in fuse_opt_free_args(). Patch by Lucas
881 2007-07-02 Miklos Szeredi <miklos@szeredi.hu>
885 2007-07-02 Miklos Szeredi <miklos@szeredi.hu>
887 * Accept a NULL "op" for fuse_main(), etc. This is useful if
888 filesystem is only invoking fuse to print a help message, or
889 version. Fixes RedHat bugzilla #217343
891 2007-06-22 Miklos Szeredi <miklos@szeredi.hu>
893 * lib: fix locking when loading a filesystem module
895 2007-06-21 Miklos Szeredi <miklos@szeredi.hu>
897 * Add fs subtype support to mount.fuse
899 2007-06-20 Miklos Szeredi <miklos@szeredi.hu>
901 * Add fs subtype support to libfuse and fusermount
903 2007-06-19 Miklos Szeredi <miklos@szeredi.hu>
905 * kernel: sync with mainline (2.6.22)
907 2007-06-18 Miklos Szeredi <miklos@szeredi.hu>
909 * Send debug output to stderr instead of stdout. Patch by Jan
912 2007-06-03 Miklos Szeredi <miklos@szeredi.hu>
914 * libulockmgr: Work around a kernel bug in recv(), causing it to
915 sometimes return zero even if data was available on the socket.
917 2007-05-29 Miklos Szeredi <miklos@szeredi.hu>
919 * lib: optimization: store parent pointer in node instead of
922 2007-05-25 Miklos Szeredi <miklos@szeredi.hu>
924 * lib: don't create new thread for each FORGET request. FORGET
925 messages sometimes caused so many threads to be created, that
926 process virtual memory space ran out. Reported by Chris AtLee
928 2007-05-24 Miklos Szeredi <miklos@szeredi.hu>
930 * lib: fix memory leak on thread creation failure in multithreaded
931 event loop. Found by Chris AtLee
933 2007-05-23 Miklos Szeredi <miklos@szeredi.hu>
935 * lowlevel lib: add fuse_reply_iov function, which is similar to
936 fuse_reply_buf, but accepts a vector of buffers. Patch by Roger
939 2007-05-21 Miklos Szeredi <miklos@szeredi.hu>
941 * Fix Oops or error if a regular file is created with mknod(2) on
942 a fuse filesystem. Kernels 2.6.18 onward are affected. Thanks to
943 J. Cameijo Cerdeira for the report
945 2007-05-11 Csaba Henk <csaba.henk@creo.hu>
947 * libfuse: fix return value of fuse_loop()/fuse_loop_mt().
948 Error reported by Csaba Henk, fix by Miklos Szeredi
950 * libfuse: fix unlock in flush
952 * libfuse: do unlocking on RELEASE+FLUSH
954 2007-05-03 Miklos Szeredi <miklos@szeredi.hu>
958 2007-05-02 Miklos Szeredi <miklos@szeredi.hu>
960 * kernel: sync with mainline:
962 * Use invalidate_mapping_pages() if available
964 * Fix BUG when invalid file type is supplied in mount. Patch by
967 2007-04-27 Miklos Szeredi <miklos@szeredi.hu>
969 * libfuse: call umount(8) directly instead of fusermount if
972 * Clean up init script, make it LSB compliant
974 2007-04-26 Miklos Szeredi <miklos@szeredi.hu>
976 * In multithreaded loop, use a semaphore instead of SIGHUP to wake
977 up the main thread on umount. This is more elegant, and works
978 even if signals are blocked.
980 2007-04-25 Miklos Szeredi <miklos@szeredi.hu>
982 * Improve mounting support in libfuse:
983 - check non-empty mountpoint
984 - only fall back to fusermount when necessary
986 2007-04-23 Miklos Szeredi <miklos@szeredi.hu>
988 * Don't chdir to "/" in foreground mode, it causes more trouble
991 2007-04-18 Miklos Szeredi <miklos@szeredi.hu>
993 * Replace utils/mount.fuse "sh" script with a "C" program
995 2007-04-15 Miklos Szeredi <miklos@szeredi.hu>
997 * Add -lulockmgr to compilation comment in fusexmp_fh.c
999 2007-04-05 Miklos Szeredi <miklos@szeredi.hu>
1001 * Check for iconv. Patch by Csaba Henk
1003 * Add direct umounting
1005 * Use "fusectl" as the device for the fusectl filesystem. Debian
1006 Bug#417945. Reported by Laurent Bonnaud
1008 2007-04-01 Csaba Henk <csaba.henk@creo.hu>
1010 * Fix some FreeBSD related macros.
1012 2007-03-30 Miklos Szeredi <miklos@szeredi.hu>
1014 * Add support for direct mounting by libfuse. Fall back on
1015 calling fusermount if it doesn't work
1017 2007-03-14 Miklos Szeredi <miklos@szeredi.hu>
1019 * Released 2.7.0-pre1
1021 2007-03-05 Miklos Szeredi <miklos@szeredi.hu>
1023 * Correctly handle O_APPEND in direct IO mode. Reported by Greg
1026 * mount.fuse should use /bin/bash. Debian Bug#413403. Reported
1027 by Thomas Weinbrenner
1029 2007-02-26 Miklos Szeredi <miklos@szeredi.hu>
1031 * Fix detection of installed fuse in init script. Reported and
1032 fix suggested by Davide Canova
1034 2007-02-05 Miklos Szeredi <miklos@szeredi.hu>
1036 * Fix 2.6.9 RHEL kernels, which have compatibility mutex.h, but
1037 don't define mutex_destroy(), bummer. Patch from Phil Schwan
1039 2007-02-04 Miklos Szeredi <miklos@szeredi.hu>
1041 * Compile fuseblk for kernels which don't have an option to turn
1042 off the block layer (CONFIG_BLOCK). Reported by Szakacsits
1045 2007-02-03 Miklos Szeredi <miklos@szeredi.hu>
1047 * Add filesystem stacking support to high level API. Filesystem
1048 modules can be built into libfuse or loaded from shared object
1051 * Add 'subdir' and 'iconv' built in modules
1053 * lib/fuse.c: Fix locking for the reply code in create and open
1055 2007-02-02 Miklos Szeredi <miklos@szeredi.hu>
1057 * kernel: make it compile on "strange" kernels which have emulated
1058 mutexes via <linux/mutex.h> but no i_mutex. Reported by Tomasz
1061 2007-01-28 Miklos Szeredi <miklos@szeredi.hu>
1063 * kernel: fix BUG in control filesystem if it is umounted and
1064 mounted again, while some fuse filesystems are present.
1065 Bugreport from Florent Mertens
1067 * kernel: sync with mainline, support 2.6.20
1069 2007-01-22 Miklos Szeredi <miklos@szeredi.hu>
1071 * lib/Makefile.am: actually link libfuse against libfuse_libs
1073 2007-01-19 Miklos Szeredi <miklos@szeredi.hu>
1075 * Build fix for 2.6.16 vanila and 2.6.15 FC5 kernels. Patch from
1078 2007-01-18 Miklos Szeredi <miklos@szeredi.hu>
1080 * Fix abort in fuse_new() compatibility API for opts == NULL case.
1081 Novell bugzilla #233870. Patch from Takashi Iwai.
1083 2007-01-13 Miklos Szeredi <miklos@szeredi.hu>
1085 * Fix option parsing in mount.fuse. Patch from Jens M. Noedler
1087 2007-01-02 Miklos Szeredi <miklos@szeredi.hu>
1089 * Fix unaligned access in file desctriptor passing in libfuse,
1090 fusermount and ulockmgr. Debian bug ID: 404904. Reported and
1091 tested by Sebastian Fontius
1093 2006-12-16 Miklos Szeredi <miklos@szeredi.hu>
1095 * kernel: don't keep unreferenced inodes in the icache.
1097 2006-12-15 Miklos Szeredi <miklos@szeredi.hu>
1099 * fusermount: Fix detection of fuseblk. Reported by Szakacsits
1102 * lib: Fix use after free in fuse_flush(). Reported by Ron
1105 2006-12-10 Miklos Szeredi <miklos@szeredi.hu>
1107 * mount.fuse: add "setuid=USER" option which does a "su - USER"
1110 * fusermount: use "/bin/mount -f" to add entry to /etc/mtab, and
1111 "/bin/umount" to remove entry from /etc/mtab. This gets rid of
1112 the ugly code dealing with mtab, as well as a possible race
1113 between fusermount and mount trying to modify /etc/mtab at the
1116 * Fix "buffer size too small: 4" warning for users of the
1117 fuse_loop_mt_proc() function.
1119 2006-12-04 Miklos Szeredi <miklos@szeredi.hu>
1121 * Fix warnings with gcc-4.1 on 64bit archs. Report from
1124 * Add extra warning options, and fix resulting warnings
1126 * Really fix fuse_teardown problem
1128 2006-12-02 Miklos Szeredi <miklos@szeredi.hu>
1130 * Add -lrt to fuse.pc (if needed) to fix static linking against
1131 libfuse. Reported by Szakacsits Szabolcs
1133 2006-12-01 Miklos Szeredi <miklos@szeredi.hu>
1137 2006-11-30 Miklos Szeredi <miklos@szeredi.hu>
1139 * Fix API version 21 and 22 compatibility for fuse_teardown.
1142 2006-11-29 Miklos Szeredi <miklos@szeredi.hu>
1144 * fusermount: Print a more helpful message in case the kernel
1145 doesn't support the 'fuseblk' filesystem type. This has been
1146 biting ntfs-3g users. Reported by Yura Pakhuchiy
1148 * kernel: fix build problem for "make -C ...". Reported by
1151 2006-11-19 Miklos Szeredi <miklos@szeredi.hu>
1153 * Fix bug in certain error paths of lookup routines. The request
1154 object was reused for sending FORGET, which is illegal. This bug
1155 could cause an Oops in linux-2.6.18 or in fuse-2.6.0, and might
1156 silently corrupt memory in earlier versions. Report and test
1159 2006-11-11 Miklos Szeredi <miklos@szeredi.hu>
1161 * Print an error if an incompatible kernel interface version is
1162 detected in INIT. This will only show if filesystem is started
1165 * Fix order of fuse_destroy()/fuse_unmount() in error cleanup of
1166 fuse_setup_common(). Reported by Szakacsits Szabolcs
1168 2006-11-06 Miklos Szeredi <miklos@szeredi.hu>
1170 * Fix recursive locking in fuse_create(). Thanks to Takuya
1171 Ishibashi for the bug report
1173 2006-10-28 Miklos Szeredi <miklos@szeredi.hu>
1175 * Fix automake problem. Patch from Nix
1177 2006-10-26 Miklos Szeredi <miklos@szeredi.hu>
1179 * Fix mount.fuse to use /bin/sh instead of /bin/bash, which is not
1180 always available on embedded systems. Patch from Paul Smith
1182 * Fix util/Makefile.am, so that failure to run update-rc.d or
1183 device creation doesn't cause make to fail. Reported by Paul
1186 2006-10-21 Miklos Szeredi <miklos@szeredi.hu>
1190 2006-10-18 Miklos Szeredi <miklos@szeredi.hu>
1192 * fusermount: don't try to create a lock file if /etc/mtab is a
1193 symlink. Report and patch from Alexei Sheplyakov (debian bug
1196 2006-10-17 Miklos Szeredi <miklos@szeredi.hu>
1198 * Minor changes, sync with mainline tree
1200 2006-10-16 Miklos Szeredi <miklos@szeredi.hu>
1202 * Released 2.6.0-rc3
1204 2006-10-15 Miklos Szeredi <miklos@szeredi.hu>
1208 2006-10-13 Miklos Szeredi <miklos@szeredi.hu>
1210 * kernel: Fix compilation on patched 2.6.18 (fc6) and 2.6.19.
1211 Report from David Shaw
1213 * lib: Fix lost error on renaming a file. Report from David Shaw
1215 * lib: Fix lost error on hiding open files (renaming to
1218 * kernel: Fix a rare hang on SMP/32bit on heavy filesystem
1219 activity. The cause of the bug was that some calls to
1220 i_size_write() were not protected by a lock, and hence
1221 i_size_seqcount could become corrupted. This caused subsequent
1222 calls to i_size_read() to spin forever. This is a long standing
1223 bug was probably introduced in version 2.2, and thought to be
1224 related to NFS exporting (it's not). It was reported by various
1225 people, but Dana Henriksen has finally helped me to track it down,
1226 so big thanks to him
1228 * kernel: Protect against truncation of a swapfile
1230 2006-10-10 Miklos Szeredi <miklos@szeredi.hu>
1232 * kernel: Check for signature of super_operations->umount_begin().
1233 Ubuntu kernel 2.6.17 seems to use the new signature found in
1234 2.6.18. Thanks to Florent Mertens for the report
1236 2006-10-08 Miklos Szeredi <miklos@szeredi.hu>
1238 * Make sure inode numers wrap around at 2^32. This is needed on
1239 dual 64bit/32bit architectures, because 32bit applications using
1240 the non-largefile interface would otherwise break (EOVERFLOW error
1241 would be returned by the stat() system call family)
1243 * ulockmgr: handle the case, when a locking operation fails
1244 because no more file desctriptors are available in
1245 ulockmgr_server. Also work around a Linux kernel bug (known to
1246 exist for all Linux kernel versions <= 2.6.18) which may cause
1247 sent file descriptors to be lost in the above case
1249 * ulockmgr: optimize file descriptor use
1251 * restore needed cpp flags to util/Makefile.am
1253 * Install udev rules as 99-fuse.rules instead of 60-fuse.rules
1255 * Minor clean up of udev rules
1257 * Add a synchronous DESTROY message to kernel interface. This is
1258 invoked from umount, when the final instance of the filesystem is
1259 released. It is only sent for filesystems mounted with the
1260 'blkdev' option for security reasons.
1262 * If the DESTROY message is received, call the filesystem's
1263 ->destroy() method. In this case it's not called from session
1264 destruction as it would be otherwise.
1266 2006-10-01 Miklos Szeredi <miklos@szeredi.hu>
1268 * Released 2.6.0-rc2
1270 2006-10-01 Miklos Szeredi <miklos@szeredi.hu>
1272 * Add support for FLUSH+RELEASE operation for FreeBSD. Original
1275 * Add init script to insert fuse module and mount the control
1276 filesystem. The script is installed as /etc/init.d/fuse and on
1277 debian based systems (where update-rc.d is available) symlinks
1278 from /etc/rc*.d/ are also installed.
1280 * Include '#define FUSE_USE_VERSION=XX' into examples so they
1281 become more self contained.
1283 2006-09-30 Miklos Szeredi <miklos@szeredi.hu>
1287 * Move lock_owner from a separate argument into fuse_file_info
1289 * Add a flag to fuse_file_info indicating (1) a highlevel lock
1290 operation (unlock all) was initiated by a flush, (2) a lowlevel
1291 release operation should perform a flush as well.
1293 * fusermount: revert modprobe change (2006-08-18) since it
1294 doesn't work reliably with udev
1296 * Add support for block device backed filesystems. This mode is
1297 selected with the 'blkdev' option, which is privileged.
1299 * Add support for the bmap (FIBMAP ioctl) operation on block
1300 device backed filesystems. This allows swapon and lilo to work on
1305 * Drop support for kernels earlier than 2.6.9. Kernel module from
1306 previous (2.5.x) release can be used with library from this
1309 * In fuse_dentry_revalidate() use dget_parent() instead of
1310 dereferencing d_parent, since there's no protection against parent
1311 changing and going away
1313 * Protect nlookup from concurrent updates
1315 * In lookup if a directory alias exists but is unused,
1316 then get rid of it, otherwise return -EBUSY.
1318 * In mkdir if a directory alias exists, return success, but leave
1319 dentry negative. In reality this could happen if a remote rename
1320 immediately followed the mkdir.
1322 * Don't BUG in fuse_iget() if multiple retries are needed to get a
1323 good inode. This could happen if several lookups are racing for
1326 2006-09-29 Miklos Szeredi <miklos@szeredi.hu>
1328 * Fix compilation on 2.6.9. Report from Troy Ayers
1330 2006-09-27 Miklos Szeredi <miklos@szeredi.hu>
1332 * Fix Oops in fuse_readpages(). Reported by David Shaw
1334 2006-09-24 Csaba Henk <csaba.henk@creo.hu>
1336 * Add support for nanosec times on FreeBSD
1338 * Fix FreeBSD compatibility issues
1340 2006-09-23 Miklos Szeredi <miklos@szeredi.hu>
1342 * Fix one more compatibility bug. Thanks to Ricardo Correia
1344 * Fix utimens compilation with uClibc. Patch from Jamie Guinan
1346 2006-09-22 Miklos Szeredi <miklos@szeredi.hu>
1348 * Fixed several compatibility bugs in low level interface.
1349 Reported by Ricardo Correia
1351 * Add workaround for ARM caching bug
1353 2006-09-16 Miklos Szeredi <miklos@szeredi.hu>
1355 * Rename new utimes() method to more logical utimens()
1357 2006-09-14 Miklos Szeredi <miklos@szeredi.hu>
1359 * Fuse tried to unlink already unlinked hidden files. Bug
1360 reported by Milan Svoboda
1362 2006-09-10 Miklos Szeredi <miklos@szeredi.hu>
1364 * Released 2.6.0-rc1
1366 2006-09-10 Miklos Szeredi <miklos@szeredi.hu>
1368 * kernel: Fix unlock on close for kernels < 2.6.18
1370 * Add ulockmgr library & server. This can be used for handling
1371 file locking requests either directly from libfuse or over a
1372 network, etc. This first version is not optimized and the number
1373 of file descriptors it uses may get out of hand
1375 2006-09-07 Miklos Szeredi <miklos@szeredi.hu>
1377 * lib: Add interrupt support to high level library, which may be
1378 enabled with the 'intr' mount option.
1380 * When an operation is interrupted the thread handling that
1381 operation will receive SIGUSR1 (or other signal specified with the
1382 'intr_signal=N' option). The library installs a no-op signal
1383 handler for this signal, unless there's already a handler
1386 * The filesystem may query interrupt status (regardless of 'intr')
1387 with the fuse_interrupted() function.
1389 * mount.fuse: initialize $HOME if not set. Report from Sven Goldt
1391 2006-09-03 Miklos Szeredi <miklos@szeredi.hu>
1393 * lib: Multithreaded loop now allows unlimited number of threads.
1394 This is needed for locking operations which may block
1395 indefinitely. Also the kernel now doesn't limit the number of
1396 outstanding requests so the library shouldn't do so either.
1398 2006-09-01 Miklos Szeredi <miklos@szeredi.hu>
1400 * Fix recursive lock bug in interrupt handling
1402 * Add utimes() method to highlevel interface, which supports
1403 setting times with nanosecond resolution
1405 2006-08-18 Miklos Szeredi <miklos@szeredi.hu>
1407 * kernel: fix page leak if fuse_readpages() failed in it's
1408 initialization. Bug found and original patch from Alexander
1411 * For linux kernels >=2.6.18 (2.6.19 if using the fuse module from
1412 the kernel tree) the statfs method will receive the path within
1413 the filesystem on which the stat(v)fs syscall was called
1415 * fusermount: try to modprobe fuse module if invoked by root and
1416 unable to open device. This is needed with udev, since the device
1417 node will be created only when the module is inserted, hence
1418 module autoloading won't work. Reported by Szakacsits Szabolcs
1420 2006-07-30 Miklos Szeredi <miklos@szeredi.hu>
1422 * fusermount: if selinux is active, restore the original file's
1423 security context in unmount_rename(). Redhat bugzilla id 188561.
1424 Patch from Yves Perrenoud
1426 * Add POSIX file locking operation to high level library
1428 * Initialize context for unlink of hidden files on umount. Bug
1429 reported by Tim Stoakes
1431 2006-07-14 Miklos Szeredi <miklos@szeredi.hu>
1433 * Multiple release() calls can race with each other, resulting in
1434 the hidden file being deleted before the last release finishes.
1435 Bug found and patch tested by Mark Huijgen
1437 2006-07-05 Miklos Szeredi <miklos@szeredi.hu>
1439 * fusermount: if /dev/fuse doesn't exist, suggest modprobing fuse;
1440 this makes sense on systems using udev. Reported by Szakacsits
1443 2006-06-29 Miklos Szeredi <miklos@szeredi.hu>
1445 * Released 2.6.0-pre3
1447 2006-06-29 Miklos Szeredi <miklos@szeredi.hu>
1449 * Support in kernel module for file locking and interruption. The
1450 same functionality is available in official kernels >= 2.6.18
1452 2006-06-28 Miklos Szeredi <miklos@szeredi.hu>
1454 * Add POSIX file locking support
1456 * Add request interruption
1458 2006-06-06 Miklos Szeredi <miklos@szeredi.hu>
1460 * Add missing pthread_rwlock_destroy(). Patch from Remy Blank
1462 2006-06-05 Remy Blank <remy.blank@pobox.com>
1464 * lib: canonicalize mount point in fuse_helper_opt_proc() so that
1465 unmounting succeeds even if mount point was relative.
1467 2006-06-04 Csaba Henk <csaba.henk@creo.hu>
1469 * lib: fix emergency umount in helper.c when malloc fails.
1470 (The way it was done would end up in a segfault.)
1472 2006-06-01 Csaba Henk <csaba.henk@creo.hu>
1474 * lib: adjust threading related compiler flags.
1475 Switch to "-pthread" from "-lpthread" as that's the preferred
1476 one on several platforms. Consulted with Terrence Cole and
1479 2006-05-08 Miklos Szeredi <miklos@szeredi.hu>
1481 * lib: search fusermount in installation directory (bindir) as
1484 2006-05-03 Miklos Szeredi <miklos@szeredi.hu>
1486 * lib: fix compilation if CLOCK_MONOTONIC is not defined.
1487 Reported by Christian Magnusson
1489 2006-04-23 Csaba Henk <csaba.henk@creo.hu>
1491 * lib: make FreeBSD mount routine recognize if kernel features
1492 backgrounded init and if it does, run the mount util in foreground
1493 (similarly to Linux)
1495 2006-04-21 Miklos Szeredi <miklos@szeredi.hu>
1497 * kernel: fix fput deadlock fix, the lockless solution could lead
1498 to "VFS: busy inodes after umount..."
1500 * kernel: fix race between checking and setting file->private_data
1501 for the device. Found by Al Viro
1503 2006-04-11 Miklos Szeredi <miklos@szeredi.hu>
1505 * kernel: remove request pool, instead allocate requests on
1506 demand. Account the number of background requests, and if they go
1507 over a limit, block the allocation of new requests.
1509 * kernel: fix deadlock if backgrounded request holds the last
1510 reference to the super block
1512 * kernel: don't use fuse_reset_request() during direct I/O
1514 2006-04-06 Csaba Henk <csaba.henk@creo.hu>
1516 * lib: Let FreeBSD mount option parsing routine recognize "no"
1517 prefixes for FUSE specific options as well
1519 2006-04-01 Miklos Szeredi <miklos@szeredi.hu>
1521 * lib: Add missing rwlock initialization. Patch by Ryan Bradetich
1523 2006-03-17 Miklos Szeredi <miklos@szeredi.hu>
1527 * fuse_main(), fuse_setup() and fuse_new() have an additionl
1530 * fuse_mount() returns a 'struct fuse_chan' pointer instead of a
1533 * fuse_unmount() receives a 'struct fuse_chan' pointer. It
1534 destroys the given channel
1536 * fuse_teardown() no longer has a file descriptor parameter
1538 * new exported functions: fuse_session_remove_chan(),
1539 fuse_get_session(), fuse_daemonize()
1541 * fuse_chan_recv() may now return a new channel which will be used
1544 2006-03-16 Miklos Szeredi <miklos@szeredi.hu>
1546 * Released 2.6.0-pre2
1548 2006-03-16 Miklos Szeredi <miklos@szeredi.hu>
1550 * Don't unmount if already unmounted. This fixes a problem seen
1551 in the following situation: Lazy unmount a busy filesystem; Mount
1552 a new one in top; When the first finally unmounts, the second also
1553 unmounts. Reported by Franco Broi
1555 2006-03-15 Miklos Szeredi <miklos@szeredi.hu>
1557 * lowlevel lib: use indirect function calls instead of a
1558 switch/case construct. Besides increased efficiency it helps
1559 maintainability & readability too. Patch from Florin Malita
1561 2006-03-13 Miklos Szeredi <miklos@szeredi.hu>
1563 * kernel: replace global spinlock with a per-connection spinlock
1565 2006-03-10 Miklos Szeredi <miklos@szeredi.hu>
1567 * Fix source compatibility breakage for fuse_unmount(). Report
1570 2006-03-02 Miklos Szeredi <miklos@szeredi.hu>
1572 * Fix O_ASYNC handling in fuse_dev_release(). From Jeff Dike
1574 2006-03-01 Miklos Szeredi <miklos@szeredi.hu>
1576 * Add O_ASYNC and O_NONBLOCK support to FUSE device. Patch by
1579 * Renamed fuse_chan_receive() to fuse_chan_recv() and changed
1580 interface to return -errno in case of error.
1582 2006-03-01 Csaba Henk <csaba.henk@creo.hu>
1584 * libfuse: pass device file descriptor to fuse_unmount(), rewrite
1585 FreeBSD implementation so that it uses libc (sysctl backed) instead
1586 of an embdedded script (kmem backed). Adjust the control flow of
1587 hello_ll so that device doesn't get closed before unmount attempt.
1589 2006-02-25 Miklos Szeredi <miklos@szeredi.hu>
1591 * Lowlevel lib: return all-zero statvfs data if filesystem doesn't
1592 implement method. This is needed on FreeBSD, and nicer on Linux
1593 too. Highlevel lib already did this. Reported by Csaba Henk
1595 * Fix negative entry handling. There was a bug, that negative
1596 lookups with timeouts (nodeid == 0) returned -EIO.
1598 2006-02-23 Miklos Szeredi <miklos@szeredi.hu>
1600 * Fix race between RELEASE and UNLINK, which might leave
1601 .fuse_hidden* files around
1603 2006-02-21 Miklos Szeredi <miklos@szeredi.hu>
1605 * fusexmp_fh: implement flush() method and call close() on the
1606 open file descriptor. This is needed if used on an NFS
1607 filesystem, which buffers data until file is closed. Franco Broi
1608 spotted the situation when 'cp -p' failed to set the modification
1609 time because of this.
1611 2006-02-20 Miklos Szeredi <miklos@szeredi.hu>
1613 * Released 2.6.0-pre1
1615 2006-02-19 Miklos Szeredi <miklos@szeredi.hu>
1617 * libfuse: fix use-after-free bug in interruptred reply_entry().
1618 Patch from John Muir
1620 * libfuse: fix wrong symbol versioning for fuse_mount. Debian bug
1621 ID: 352631. Found by Stéphane Rosi
1623 2006-02-17 Miklos Szeredi <miklos@szeredi.hu>
1625 * Lowlevel lib: Unify fuse_dirent_size() and fuse_add_dirent()
1626 into a single function fuse_add_direntry(). This cleans up the
1627 interface and makes it possible to do stacking.
1629 2006-02-16 Miklos Szeredi <miklos@szeredi.hu>
1631 * Fix rare race betweeen abort and release caused by failed iget()
1632 in fuse_create_open().
1634 * Add 'ac_attr_timeout' option e.g. for filesystems which do their
1635 own attribute caching.
1637 2006-02-15 Miklos Szeredi <miklos@szeredi.hu>
1639 * Work around FreeBSD runtime linker "feature" which binds an old
1640 version of a symbol to internal references if the symbol has more
1641 than one version. This resulted in infinite recursion in
1642 fuse_lowlevel_new_compat25().
1644 2006-02-10 Csaba Henk <csaba.henk@creo.hu>
1646 * Refine clock_gettime() querying so that linker options
1647 shall be set as it's appropriate for the target platform.
1649 2006-02-09 Miklos Szeredi <miklos@szeredi.hu>
1651 * Fix udev rule syntax. Reported by Nix
1653 2006-02-08 Miklos Szeredi <miklos@szeredi.hu>
1655 * In some cases udev rule seems to be ineffective when installed
1656 as 40-fuse.rules but work as 60-fuse.rules. Reported by John Hunt
1658 2006-02-03 Miklos Szeredi <miklos@szeredi.hu>
1660 * Fix compilation when build directory is different from source
1661 directory. Reported by Frédéric L. W. Meunier
1663 2006-02-02 Miklos Szeredi <miklos@szeredi.hu>
1665 * Fix even bigger bug introduced in fix for request_end() on
1666 2006-01-14. Reported by Gal Rosen
1668 2006-01-30 Miklos Szeredi <miklos@szeredi.hu>
1670 * highlevel-lib: add 'auto_cache' option. This caches file data
1671 based on modification time and size
1673 2006-01-20 Miklos Szeredi <miklos@szeredi.hu>
1675 * Sanitize storage type and help message in mount_bsd.c. Patch
1678 * fuse_opt: add new helper constants FUSE_OPT_KEY_KEEP and
1679 FUSE_OPT_KEY_DISCARD
1681 * Add options 'max_readahead', 'sync_read' and 'async_read'
1683 * Kernel ABI version 7.6:
1685 * Negotiate the 'max_readahead' value and 'async_read' flags with
1686 userspace in the INIT method
1688 * Add connection info to ->init() methods to both lowlevel and
1691 * Fall back to synchronous read() behavior if either library or
1692 userspace filesystem is using the old interface version. This is
1693 needed so non-updated filesystems won't be confused by the
1694 different read() behavior
1696 2006-01-19 Miklos Szeredi <miklos@szeredi.hu>
1698 * lib: if "fsname=" option was given, pass it to fusermount
1700 * fuse_opt: add new fuse_opt_insert_arg() function, which is
1701 needed by filesystems to implement some argument manipulations
1704 * fuse_opt: fix memory leak in handling "--" option
1706 2006-01-18 Miklos Szeredi <miklos@szeredi.hu>
1708 * kernel: fix detection of case when fuse is not configured into
1709 the kernel either as module or built-in
1711 * fuse_opt.h: fix incompatibility with C++ compilers by renaming
1712 'template' structure member to 'templ'. Reported by Takashi Iwai
1714 * fuse.h: fix compatibility bugs. Patch by Yura Pakhuchiy
1716 * kernel: support version 2.6.16 (i_sem -> i_mutex)
1718 2006-01-16 Miklos Szeredi <miklos@szeredi.hu>
1720 * Added (again) asynchronous readpages support
1722 * Each connection now shows up under /sys/fs/fuse/connections
1724 * Connection attributes exported to sysfs: 'waiting' number of
1725 waiting requests; 'abort' abort the connection
1727 * Connection may be aborted through either the sysfs interface or
1728 with 'umount -f mountpoint'
1730 2006-01-14 Miklos Szeredi <miklos@szeredi.hu>
1734 2006-01-14 Miklos Szeredi <miklos@szeredi.hu>
1736 * kernel: fix a couple of bugs
1738 * Order of request_end() and fuse_copy_finish() was wrong.
1739 Posthumous note: Franco Broi managed to exploit this, though it
1740 seemed quite impossible
1742 * request_end() used request pointer after decrementing refcount
1744 * Clearing ->connected or ->mounted connection flags could race
1745 with setting other bitfields not protected with a lock
1747 2006-01-10 Miklos Szeredi <miklos@szeredi.hu>
1749 * kernel: add necessary compile flags for 2.4.X/x86_64.
1750 Report from Sean Ziegeler
1752 2006-01-09 Miklos Szeredi <miklos@szeredi.hu>
1754 * Released 2.5.0-pre2
1756 2006-01-09 Miklos Szeredi <miklos@szeredi.hu>
1758 * Applied patch from Csaba Henk, to update mount_bsd to new
1759 fuse_mount() semantics
1761 * Ignore auto,noauto,... options in mount.fuse. Reported by Frank
1762 Steiner and Don Taber
1764 * fusermount: add 'dirsync' mount option
1766 2006-01-07 Miklos Szeredi <miklos@szeredi.hu>
1768 * Improved help reporting and added version reporting to library
1770 2006-01-06 Miklos Szeredi <miklos@szeredi.hu>
1772 * Change working directory to "/" even if running in the
1773 foreground. Patch from Jonathan Brandmeyer
1775 * Changed lots of functions to use 'struct fuse_args' instead of
1776 separate argc and argv
1778 * Added fuse_parse_cmdline(), fuse_set_signal_handlers() and
1779 fuse_remove_signal_handlers() functions, so that it's now pretty
1780 easy to get all the functionality of fuse_main() with a filesystem
1781 using the lowlevel API.
1783 2006-01-02 Miklos Szeredi <miklos@szeredi.hu>
1785 * mount.fuse: the 'user' option should be ignored. Report and
1786 solution from Mattd.
1788 * mount.fuse: export PATH in the right place. Report and patch
1789 from Hannes Schweizer
1791 2005-12-16 Miklos Szeredi <miklos@szeredi.hu>
1793 * Clean up the option parsing interface slightly, by creating an
1794 "argument list" structure, that contains the argument vector and
1797 2005-12-15 Miklos Szeredi <miklos@szeredi.hu>
1799 * fusermount: check if /mnt/mtab is a symlink and don't modify it
1802 * kernel: simplify request size limiting. INIT only contains
1803 maximum write size, maximum path component size remains fixed at
1804 1024 bytes, and maximum xattr size depends on read buffer.
1806 2005-12-14 Miklos Szeredi <miklos@szeredi.hu>
1808 * Fix readdir() failure on x86_64, of 32bit programs compiled
1809 without largefile support. Bug report and help from Anthony
1812 * If lookup returns invalid mode, return -EIO instead of creating
1815 * Add current output argument vector to option processing
1818 2005-12-12 Miklos Szeredi <miklos@szeredi.hu>
1820 * Fix stale code in ifdef FreeBSD. Patch from Csaba Henk
1822 2005-12-09 Miklos Szeredi <miklos@szeredi.hu>
1824 * Released 2.5.0-pre1
1826 2005-12-09 Miklos Szeredi <miklos@szeredi.hu>
1828 * libfuse: added option parsing interface, defined in
1831 2005-12-07 Miklos Szeredi <miklos@szeredi.hu>
1833 * Return EIO for file operations (read, write, fsync, flush) on
1834 open files whose inode has become "bad". Inodes will be marked
1835 "bad" if their type changes. Bug report by Csaba Henk
1837 2005-12-06 Miklos Szeredi <miklos@szeredi.hu>
1839 * Use bigger request buffer size. write() did not work on archs
1840 with > 4k page size, Bug report by Mark Haney
1844 * Extend INIT reply with data size limits
1846 2005-12-02 Miklos Szeredi <miklos@szeredi.hu>
1848 * Fix memory leak in fuse_read_cmd()/fuse_process_cmd(). Bug
1849 reported by Vincenzo Ciancia
1851 * Handle exit-by-umount in fuse_read_cmd()
1853 2005-11-29 Miklos Szeredi <miklos@szeredi.hu>
1855 * Check if '-msoft-float' option is supported by compiler when
1856 configuring for a 2.4.x kernel. Bug report by Mark Haney
1858 * In multithreaded loop send a TERM signal to the main thread if
1859 one of the other threads exit. Needed on FreeBSD for a clean exit
1860 on umount. Should not cause any harm on Linux either
1862 2005-11-28 Miklos Szeredi <miklos@szeredi.hu>
1864 * Fix bug in 32-bit file handle compatibility
1866 2005-11-27 Miklos Szeredi <miklos@szeredi.hu>
1868 * Block TERM, INT, HUP and QUIT signals in all but the main
1869 thread. According to POSIX it's not specified which thread will
1870 receive these signals.
1874 * Check for directory aliasing on mkdir, not just on lookup
1876 * Check for special node ID values in create+open operation
1878 * Sync with -mm: readv, writev, aio_read and aio_write methods
1879 added to file operations
1881 * Cleanups: lookup code, page offset calculation
1883 * ABI stepped to 7.4, changes:
1885 * frsize member added to fuse_kstatfs structure
1887 * added support for negative entry caching: on lowlevel API if
1888 fuse_entry_param::ino is set to zero in reply to a lookup request,
1889 the kernel will cache the dentry for the specified amount of time.
1891 * libfuse: added 'negative_timeout' option: specifies how much
1892 negative entries should be cached. Default is zero, to be
1893 compatible with prior versions
1895 2005-11-22 Miklos Szeredi <miklos@szeredi.hu>
1897 * Add detection of mainline FUSE code in running kernel
1899 2005-11-21 Miklos Szeredi <miklos@szeredi.hu>
1901 * Don't use async cancelation in multithreaded loop. This makes
1902 it more portable to systems where read() is not async cancel safe.
1903 Report from Andriy Gapon
1905 2005-11-20 Miklos Szeredi <miklos@szeredi.hu>
1907 * Warn if API version 11 compatibility is requested
1909 2005-11-17 Miklos Szeredi <miklos@szeredi.hu>
1911 * More FreeBSD merge
1913 * fusermount: don't allow mountpoints with '\n', '\t', or '\\' in
1914 them, because it corrupts /etc/mtab. Found by Thomas Biege
1917 * libfuse: don't use system() to invoke 'fusermount -u ...'
1918 because it breaks mountpoints with spaces in them into multiple
1921 2005-11-16 Miklos Szeredi <miklos@szeredi.hu>
1923 * Merge library part of FreeBSD port. Patch by Csaba Henk
1925 2005-11-11 Miklos Szeredi <miklos@szeredi.hu>
1927 * Use 64bit type for file handle, so the full range supported by
1928 the kernel interface is available to applications
1930 2005-11-10 Miklos Szeredi <miklos@szeredi.hu>
1932 * Moved mountpoint argument checking from fuse_parse_cmdline() to
1933 fuse_mount() in preparation to FreeBSD merge.
1935 2005-11-08 Miklos Szeredi <miklos@szeredi.hu>
1937 * Remove unneeded close() from fuse_teardown(). Spotted by Csaba
1940 2005-11-07 Miklos Szeredi <miklos@szeredi.hu>
1942 * Make the statfs change backwards compatible.
1944 2005-11-06 Miklos Szeredi <miklos@szeredi.hu>
1946 * Change ->statfs() method to use 'struct statvfs' instead of
1947 'struct statfs'. This makes the API more portable since statvfs()
1948 is defined by POSIX.
1950 2005-10-28 Miklos Szeredi <miklos@szeredi.hu>
1952 * Add fgetattr() method, which currently will only be called after
1953 a successful call to a create() method.
1955 2005-10-26 Miklos Szeredi <miklos@szeredi.hu>
1957 * Change kernel ABI version to 7.3
1959 * Add ACCESS operation. This is called from the access() system
1960 call if 'default_permissions' mount option is not given, and is
1961 not called on kernels 2.4.*
1963 * Add atomic CREATE+OPEN operation. This will only work with
1964 2.6.15 (presumably) or later Linux kernels.
1966 * Add ftruncate() method. This will only work with 2.6.15
1967 (presumably) or later Linux kernels.
1969 * Fix kernel module compile if kernel source and build directories
1970 differ. Report and initial patch by John Eastman
1972 2005-10-18 Miklos Szeredi <miklos@szeredi.hu>
1974 * lib: optimize buffer reallocation in fill_dir.
1976 2005-10-17 Miklos Szeredi <miklos@szeredi.hu>
1980 2005-10-14 Miklos Szeredi <miklos@szeredi.hu>
1982 * libfuse: add debug for write result (by Shaun Jackman) and
1983 warnings for too large read/write result
1985 2005-10-11 Miklos Szeredi <miklos@szeredi.hu>
1987 * Spelling fixes, thanks to Ioannis Barkas
1989 2005-10-10 Miklos Szeredi <miklos@szeredi.hu>
1991 * fuse_common.h: use extern "C". Thanks to Valient Gough for the
1994 2005-10-07 Miklos Szeredi <miklos@szeredi.hu>
1996 * highlevel-lib: init() and destroy() methods didn't have an
1997 initialized fuse_context. Bug reported by Tim Stoakes
1999 2005-10-04 Miklos Szeredi <miklos@szeredi.hu>
2003 2005-10-03 Miklos Szeredi <miklos@szeredi.hu>
2005 * Add documentation to fuse_lowlevel.h
2009 * Remove definitions of unused FATTR_CTIME / FUSE_SET_ATTR_CTIME
2011 * Move fuse_mount() and fuse_unmount() to fuse_common.h
2013 * Change the return type of fuse_reply_none() from int to void.
2015 2005-09-30 Miklos Szeredi <miklos@szeredi.hu>
2017 * kernel: NFS exporting leaked dentries. Bug found and fixed by
2020 2005-09-29 Miklos Szeredi <miklos@szeredi.hu>
2022 * fusermount: fix error message, when unable to open /dev/fuse.
2023 Report by Balázs Pozsár
2025 2005-09-28 Miklos Szeredi <miklos@szeredi.hu>
2027 * UClibc fixes from Christian Magnusson
2029 2005-09-27 Miklos Szeredi <miklos@szeredi.hu>
2031 * Added NAME="%k" to util/udev.rules. Fix by Mattias Wadman.
2033 2005-09-26 Miklos Szeredi <miklos@szeredi.hu>
2035 * Released 2.4.0-rc1
2037 2005-09-26 Miklos Szeredi <miklos@szeredi.hu>
2039 * fusermount: allow user umount in the case when /etc/mtab is a
2040 symlink to /proc/mounts. Reported by Balázs Pozsár.
2042 2005-09-23 Miklos Szeredi <miklos@szeredi.hu>
2044 * Check for special node ID values in lookup and creation
2046 2005-09-22 Miklos Szeredi <miklos@szeredi.hu>
2048 * Slight optimization in returning EINVAL error in case of an open
2051 2005-09-20 Miklos Szeredi <miklos@szeredi.hu>
2053 * Remove '--enable-auto-modprobe' configure flag. Module
2054 auto-loading is now handled by the kernel.
2056 2005-09-15 Miklos Szeredi <miklos@szeredi.hu>
2058 * Install UDEV rule file, so /dev/fuse is created with mode 0666.
2059 Help from Jens M. Noedler.
2061 2005-09-14 Miklos Szeredi <miklos@szeredi.hu>
2063 * Add memory cleanup on thread exit
2065 2005-09-13 Miklos Szeredi <miklos@szeredi.hu>
2067 * Set umask to zero in fusexmp and fusexmp_fh, so that
2068 files/directories are created with the requested mode.
2070 2005-09-12 Miklos Szeredi <miklos@szeredi.hu>
2072 * Don't ignore read error in multithreaded loop
2074 2005-09-08 Miklos Szeredi <miklos@szeredi.hu>
2076 * Released 2.4.0-pre2
2078 2005-09-08 Miklos Szeredi <miklos@szeredi.hu>
2080 * Revert lock and access operations. Postpone these until 2.5.
2082 2005-09-02 Miklos Szeredi <miklos@szeredi.hu>
2084 * Fix compile warning on 2.6.13 and later
2086 * Fix compilation on old kernels
2088 2005-08-19 Miklos Szeredi <miklos@szeredi.hu>
2090 * lib: always refresh directory contents after rewinddir() to
2091 conform to SUS. Bug found by John Muir.
2093 2005-08-15 Miklos Szeredi <miklos@szeredi.hu>
2095 * Released 2.4.0-pre1
2097 2005-08-14 Miklos Szeredi <miklos@szeredi.hu>
2099 * lib: cleaned up (or messed up, depending on your POV) the low
2100 level library API. Hopefully this is close to the final form.
2102 2005-08-05 Miklos Szeredi <miklos@szeredi.hu>
2104 * fusermount: don't allow empty mountpoint argument, which defeats
2105 automatic umounting in fuse_main(). Bugreport by Václav Jůza
2107 2005-08-03 Miklos Szeredi <miklos@szeredi.hu>
2109 * fix warnings in fuse.h and fuse_lowlevel.h if -Wshadow compiler
2110 option is used (Paul Alfille).
2112 2005-08-02 Miklos Szeredi <miklos@szeredi.hu>
2114 * highlevel-lib: added mount options "attr_timeout" and
2115 "entry_timeout". These options control the length of time file
2116 attributes and entries (names) are cached. Both default to 1.0
2119 * kernel: correctly handle zero timeout for attributes and entries
2121 2005-08-01 Miklos Szeredi <miklos@szeredi.hu>
2123 * Added missing symbols to versionscript (Joshua J. Berry)
2125 * kernel: implement two flags, open can set: 'direct_io' and
2126 'keep_cache'. These correspond exactly to mount options
2127 'direct_io' and 'kernel_cache', but allow a per-open setting.
2129 * Move 'direct_io' and 'kernel_cache' mount option handling to
2130 userspace. For both mount options, if the option is given, then
2131 the respective open flag is set, otherwise the open flag is left
2132 unmodified (so the filesystem can set it).
2134 * lib (highlevel): make open method optional
2136 2005-07-28 Miklos Szeredi <miklos@szeredi.hu>
2138 * kernel: invalidate attributes for read/readdir/readlink
2141 * kernel: detect newer UML kernels
2143 2005-07-26 Miklos Szeredi <miklos@szeredi.hu>
2145 * Make the installation path of fuse.ko and mount.fuse
2146 configurable through INSTALL_MOD_PATH and MOUNT_FUSE_PATH
2147 environment variables. Requirement and help from Csaba Henk.
2149 2005-07-22 Miklos Szeredi <miklos@szeredi.hu>
2151 * Fix bug, that causes filesystem requests to hang when unique
2152 request counter becomes negative. This happens after
2153 2,147,483,648 operations, so most people won't care. Thanks to
2154 Franco Broi for the report and testing.
2156 2005-07-21 Miklos Szeredi <miklos@szeredi.hu>
2158 * Don't change mtime/ctime/atime to local time on read/write.
2159 Bug reported by Ben Grimm
2161 * Install fuse_common.h and fuse_lowlevel.h. Report by Christian
2164 * fusermount: use getopt_long() for option parsing. It allows the
2165 use of '--' to stop argument scanning, so fusermount can now
2166 operate on directories whose names begin with a '-'. Patch by
2169 2005-07-15 Miklos Szeredi <miklos@szeredi.hu>
2171 * fusermount: add '-v', '--version' and '--help' options
2173 * add inode based API
2175 2005-07-12 Miklos Szeredi <miklos@szeredi.hu>
2177 * lib: don't block signals in worker threads. Problem noticed by
2180 2005-07-07 Miklos Szeredi <miklos@szeredi.hu>
2182 * lib: don't allow both 'allow_other' and 'allow_root' options to
2185 2005-07-06 Miklos Szeredi <miklos@szeredi.hu>
2187 * fusermount: check if mountpoint is empty (only '.' and '..' for
2188 directories, and size = 0 for regular files). If "nonempty"
2189 option is given, omit this check. This is useful, so users don't
2190 accidentally hide data (e.g. from backup programs). Thanks to
2191 Frank van Maarseveen for pointing this out.
2193 * kernel: check if mandatory mount options ('fd', 'rootmode',
2194 'user_id', 'group_id') are all given
2196 * lib: simplify 'readdir_ino' handling
2198 * lib: add mount options 'umask=M', 'uid=N', 'gid=N'
2200 2005-07-03 Miklos Szeredi <miklos@szeredi.hu>
2202 * kernel: clean up 'direct_io' code
2204 2005-06-28 Miklos Szeredi <miklos@szeredi.hu>
2206 * Add 'mount.fuse' written by Petr Klima
2208 * '/dev/fuse' is created by 'make install' if does not yet exist
2210 2005-06-20 Miklos Szeredi <miklos@szeredi.hu>
2212 * Fix UCLIBC compile error. Patch by Christian Magnusson
2214 2005-06-08 Miklos Szeredi <miklos@szeredi.hu>
2216 * Enable the auto-loading of the module via access to the
2217 corresponding device file. Patch by Takashi Iwai.
2219 * Allow mounting a regular file (over a regular file) for
2222 * Do not create temporary device file. Require "/dev/fuse" to
2223 exist, and be readable/writable by the mounting user.
2225 2005-06-02 Miklos Szeredi <miklos@szeredi.hu>
2229 2005-06-02 Miklos Szeredi <miklos@szeredi.hu>
2231 * Fix serious information leak: if the filesystem returns a short
2232 byte count to a read request, and there are non-zero number of
2233 pages which are not filled at all, these pages will not be zeroed.
2234 Hence the user can read out previous memory contents. Found by
2237 2005-05-27 Miklos Szeredi <miklos@szeredi.hu>
2239 * Add "readdir_ino" mount option, which tries to fill in the d_ino
2240 field in struct dirent. This mount option is ignored if "use_ino"
2241 is used. It helps some programs (e.g. 'pwd' used over NFS from a
2242 non-Linux OS). Patch by David Shaw.
2244 2005-05-12 Miklos Szeredi <miklos@szeredi.hu>
2248 2005-05-12 Miklos Szeredi <miklos@szeredi.hu>
2250 * File save in krusader and other editors doesn't work with sshfs,
2251 because open() is interrupted by a periodic signal, and open()
2252 restarts forever, without any progress. This could just be fixed
2253 in open(), but the problem is more generic: if signals are
2254 received more often than the filesystem can get the request to
2255 userspace, it will never finish. This is probably only a
2256 theoretical problem, nevertheless I'm removing the possibility to
2257 interrupt requests with anything other than SIGKILL, even before
2258 being sent to userspace. Bugreport by Eduard Czimbalmos.
2260 2005-05-09 Miklos Szeredi <miklos@szeredi.hu>
2262 * libfuse: add "tree_lock" rwlock, that is locked for write in
2263 rename, unlink and rmdir, and locked for read in all other
2264 operations. This should fix the rename/release race reported by
2265 Valient Gough and others. The solution is very coarse, a finer
2266 grained locking scheme could be implemented, but it would be much
2267 more complex. Let's see whether this is good enough.
2269 2005-05-09 Miklos Szeredi <miklos@szeredi.hu>
2273 2005-05-08 Miklos Szeredi <miklos@szeredi.hu>
2275 * Better fix for out of order FORGET messages. Now the
2276 LOOKUP/FORGET messages are balanced exactly (one FORGET can
2277 balance many lookups), so the order no longer matters. This
2278 changes the kernel ABI slightly, but the library remains backward
2281 2005-05-06 Miklos Szeredi <miklos@szeredi.hu>
2283 * Fix abort for out of order FORGET messages. Again. Spotted by
2284 Franco Broi again. Sorry :)
2286 2005-04-29 Miklos Szeredi <miklos@szeredi.hu>
2290 2005-04-29 Miklos Szeredi <miklos@szeredi.hu>
2292 * Make fusermount work with fuse kernel modules not yet supporting
2293 the "group_id" option (added for the purpose of stricter
2294 permission checking).
2296 2005-04-28 Miklos Szeredi <miklos@szeredi.hu>
2298 * Check for hard-linked directories in lookup. This could cause
2299 problems in the VFS, which assumes that such objects never exist.
2301 * Make checking of permission for other users more strict. Now
2302 the same privilege is required for the mount owner as for ptrace
2303 on the process performing the filesystem operation.
2305 2005-04-23 Miklos Szeredi <miklos@szeredi.hu>
2309 2005-04-22 Miklos Szeredi <miklos@szeredi.hu>
2311 * Add -msoft-float to kernel module compile flags for 2.4.X. This
2312 is needed on certain architectures. Report from Chris Kirby
2314 * Fix buggy behavior of open(..., O_CREAT|O_EXCL) if interrupted.
2315 Reported by David Shaw
2317 * Remove "allow_root" option from kernel module, and implement
2318 it's functionality in the library
2320 * Fix Oops caused by premature release of fuse_conn. Clean up
2321 related code, to be more readable
2323 * Sendfile should not use page cache if "direct_io" mount option
2326 2005-04-08 Miklos Szeredi <miklos@szeredi.hu>
2328 * Fix Oops in case of nfs export. Spotted by David Shaw
2330 * Fix another Oops in case of write over nfs with direct_io turned
2331 on. Again spotted by David Shaw
2333 2005-04-07 Miklos Szeredi <miklos@szeredi.hu>
2337 2005-04-07 Miklos Szeredi <miklos@szeredi.hu>
2339 * lib: finalized new readdir() interface, which now supersedes the
2342 2005-04-03 Miklos Szeredi <miklos@szeredi.hu>
2346 2005-04-03 Miklos Szeredi <miklos@szeredi.hu>
2348 * Implement backward compatibility with version 5 kernel ABI
2350 2005-04-01 Miklos Szeredi <miklos@szeredi.hu>
2354 2005-04-01 Miklos Szeredi <miklos@szeredi.hu>
2356 * kernel: fix dirent offset handling
2358 * lib: add readdir and releasedir methods
2360 * lib: use fh field of fuse_file_info in opendir, readdir,
2361 releasedir and fsyncdir methods
2363 * lib: check kernel API version and bail out of it's old. This
2364 will be properly fixed in the next release
2366 2005-03-31 Miklos Szeredi <miklos@szeredi.hu>
2370 2005-03-31 Miklos Szeredi <miklos@szeredi.hu>
2372 * kernel API: add padding to structures, so 64bit and 32bit
2373 compiler will return the same size
2375 * kernel API: add offset field to fuse_dirent. This will allow
2376 more sophisticated readdir interface for userspace
2378 * kernel API: change major number to 6
2380 * kernel: fix warnings on 64bit archs
2382 * kernel: in case of API version mismatch, return ECONNREFUSED
2384 2005-03-24 Miklos Szeredi <miklos@szeredi.hu>
2386 * kernel: trivial cleanups
2388 2005-03-21 Miklos Szeredi <miklos@szeredi.hu>
2390 * Add fsyncdir() operation
2392 2005-03-19 Miklos Szeredi <miklos@szeredi.hu>
2394 * kernel: add locking to background list (fixes previous fix)
2396 2005-03-18 Miklos Szeredi <miklos@szeredi.hu>
2398 * kernel: fix bug which could cause leave busy inodes after
2401 2005-03-08 Miklos Szeredi <miklos@szeredi.hu>
2403 * examples: add -lpthread to link flags to work around valgrind
2406 * lib: don't exit threads, so cancelation doesn't cause segfault
2408 2005-03-04 Miklos Szeredi <miklos@szeredi.hu>
2410 * kernel: fix nasty bug which could cause an Oops under certain
2411 situations. Found by Magnus Johansson
2413 2005-02-28 Miklos Szeredi <miklos@szeredi.hu>
2415 * libfuse: added opendir() method. This can be used in case
2416 permission checking in getdir() is too late. Thanks to Usarin
2417 Heininga for pointing out this deficiency
2419 * libfuse: added init() and destroy() methods to fuse_operations
2421 * kernel: llseek() method for files and directories made explicit
2423 * kernel: fixed inode leak in NFS export in case of nodeid
2426 2005-02-15 Miklos Szeredi <miklos@szeredi.hu>
2428 * libfuse: clean up some unitialized memory found with valgrind
2430 * Add -lpthread to Libs in fuse.pc. Valgrind seems to need an
2431 explicitly linked libpthread for applications
2433 2005-02-10 Miklos Szeredi <miklos@szeredi.hu>
2435 * fusermount: set umask, otherwise /etc/mtab will have
2436 unpredictable permission. Spotted by Jindrich Kolorenc
2438 * fusermount: set owner and group of /etc/mtab to original values
2441 * libfuse: add 'use_ino' option to help. Patch by Valient Gough
2443 2005-02-07 Miklos Szeredi <miklos@szeredi.hu>
2445 * Cleaned up directory reading (temporary file is not used)
2447 2005-02-02 Miklos Szeredi <miklos@szeredi.hu>
2451 2005-02-02 Miklos Szeredi <miklos@szeredi.hu>
2453 * Fix possible race when operation is interrupted
2455 2005-01-28 Miklos Szeredi <miklos@szeredi.hu>
2457 * Fix compilation on 2.6.7
2459 2005-01-26 Miklos Szeredi <miklos@szeredi.hu>
2463 2005-01-26 Miklos Szeredi <miklos@szeredi.hu>
2465 * Fix bug in link() operation which caused the wrong path to be
2466 passed as the first argument. Found by Anton Altaparmakov
2468 2005-01-21 Miklos Szeredi <miklos@szeredi.hu>
2470 * LIB: fix double reply in readdir operation
2472 * fusermount: fix uid checking bug. Patch by Adam Connell
2474 * KERNEL: fix compile on various RedHat patched 2.4 kernels.
2475 Patch by Keshava Gowda
2477 2005-01-20 Miklos Szeredi <miklos@szeredi.hu>
2479 * KERNEL: provide correct llseek semantics for fuse device (fixes
2480 a bug on Progeny 2.4.20 kernel). Reported by Valient Gough
2482 2005-01-20 Miklos Szeredi <miklos@szeredi.hu>
2484 * Released 2.2-pre5 (matches kernel 2.6.11-rc1-mm2)
2486 2005-01-18 Miklos Szeredi <miklos@szeredi.hu>
2488 * KERNEL ABI: remove GETDIR operation, and add OPENDIR, READDIR
2489 and RELEASEDIR. This ends the ugly hack of passing a file
2490 descriptor to the kernel, and actually makes the code simpler.
2492 2005-01-17 Miklos Szeredi <miklos@szeredi.hu>
2496 2005-01-17 Miklos Szeredi <miklos@szeredi.hu>
2498 * fusermount: remove capability setting, which was the cause of
2499 problems for some users. It seems that FS related capabilities
2500 are removed by setfsuid(), so this isn't even needed.
2502 2005-01-15 Miklos Szeredi <miklos@szeredi.hu>
2504 * fix compilation on 2.4 kernels (reported by Valient Gough)
2506 * fix failure to unmount bug (found by David Shaw)
2508 * fusermount: improve parsing of /etc/fuse.conf
2510 2005-01-13 Miklos Szeredi <miklos@szeredi.hu>
2512 * Remove 'mount_max' and 'user_allow_other' module options. These
2513 are now checked by fusermount, and can be set in /etc/fuse.conf
2515 * KERNEL: change check for fsid == 0 to capable(CAP_DAC_OVERRIDE)
2517 2005-01-11 Miklos Szeredi <miklos@szeredi.hu>
2519 * KERNEL: fix possible inode allocation problem, where
2520 sizeof(struct inode) is not aligned (found by Mike Waychison)
2522 * KERNEL: use new follow_link/put_link methods
2524 * KERNEL: cosmetic fixes
2526 2005-01-10 Miklos Szeredi <miklos@szeredi.hu>
2530 2005-01-10 Miklos Szeredi <miklos@szeredi.hu>
2532 * Add missing code that was accidently left out
2534 2005-01-09 Miklos Szeredi <miklos@szeredi.hu>
2538 2005-01-09 Miklos Szeredi <miklos@szeredi.hu>
2540 * Change "uid" mount option to "user_id" to avoid confusion with a
2541 mount option "uid" commonly used by many filesystems
2543 2005-01-09 Miklos Szeredi <miklos@szeredi.hu>
2547 2005-01-09 Miklos Szeredi <miklos@szeredi.hu>
2549 * If FUSE is configured in the kernel, don't build it by default
2551 2005-01-07 Miklos Szeredi <miklos@szeredi.hu>
2553 * Compile fix by Christian Magnusson
2555 2005-01-05 Miklos Szeredi <miklos@szeredi.hu>
2557 * Fix compilation for 2.6.{0-5} kernels
2559 2005-01-04 Miklos Szeredi <miklos@szeredi.hu>
2561 * KERNEL: if request is interrupted, still keep reference to used
2562 inode(s) and file, so that FORGET and RELEASE are not sent until
2563 userspace finishes the request.
2565 * remove /{sys,proc}/fs/fuse/version, and instead add an INIT
2566 request with the same information, which is more flexible,
2567 simpler, works on embedded systems.
2569 2004-12-16 Miklos Szeredi <miklos@szeredi.hu>
2571 * KERNEL ABI: update interface to make it independent of type
2572 sizes. This will help on 64 bit architectures which can run
2573 legacy 32 bit applications.
2575 * KERNEL ABI: add "len" field to request headers. This will allow
2576 sending/receiving requests in multiple chunks.
2578 * KERNEL: handle file type change more intelligently
2580 * LIB: "-o debug" option should disable backgrounding (fix by
2581 Fabien Reygrobellet)
2583 2004-12-13 Miklos Szeredi <miklos@szeredi.hu>
2585 * KERNEL: invalidate dentry/attributes if interrupted request
2586 could leave filesystem in an unknown state.
2588 2004-12-12 Miklos Szeredi <miklos@szeredi.hu>
2590 * KERNEL: lots of cleanups related to avoiding possible deadlocks.
2591 These will cause some regressions, but stability is considered
2592 more important. If any of these features turns out to be
2593 important, it can be readded with the deadlock problems addressed.
2595 * Make all requests interruptible (only with SIGKILL currently).
2596 This can be used to break any deadlock produced by the userspace
2597 filesystem accessing it's own exported files. The RELEASE request
2598 is special, because if it's interrupted before sending it to
2599 userspace it is still sent, but the reply is not awaited.
2601 * If request is interrupted before being sent to userspace, and if
2602 it hasn't yet got any side effects, it is always restarted,
2603 regardless of the SA_RESTART flag. This makes these interruptions
2604 transparent to the process.
2606 * Remove shared-writable mmap support, which was prone to an
2607 out-of-memory deadlock situation
2609 * Remove INVALIDATE userspace initiated request
2611 * Make readpages() synchronous. Asynchronous requests are
2612 deadlock prone, since they cannot be interrupted.
2614 * Add readv/writev support to fuse device operations
2616 * Remove some printks, which userspace FS can use for a DoS
2619 * Remove 'large_read' mount option from 2.6 in kernel, check it in
2622 * LIB: improve compatibility with a fuse.h header installed in
2623 ${prefix}/include which in turn includes the real header.
2625 * LIB: improve compatibility by defining fuse_main() (which is now
2626 not used), so old configure scripts find it.
2628 2004-12-10 Miklos Szeredi <miklos@szeredi.hu>
2630 * When mounting on a subdirectory of / don't duplicate slashes at
2631 the beggining of path (spotted by David Shaw)
2633 2004-12-09 Miklos Szeredi <miklos@szeredi.hu>
2635 * Fix bug causing garbage in mount options (spotted by David Shaw)
2637 2004-12-07 Miklos Szeredi <miklos@szeredi.hu>
2639 * Add 'writepage' flag to 'fuse_file_info'.
2641 * More comments in fuse.h
2643 * Get rid of double underscores
2645 2004-12-04 Miklos Szeredi <miklos@szeredi.hu>
2647 * Add -D_FILE_OFFSET_BITS=64 to cflags provided by pkg-config
2649 * helper.c: add -ho option, which only displays the options not
2650 the usage header. This can be used by filesystems which have
2653 2004-12-03 Miklos Szeredi <miklos@szeredi.hu>
2655 * Add source compatibility to 2.1 and 1.1 APIs. To select betwen
2656 versions simply define FUSE_USE_VERSION to 22, 21 or 11 before
2657 including the fuse header
2659 * Add binary compatibility to 2.1 version of library with symbol
2662 2004-12-03 Miklos Szeredi <miklos@szeredi.hu>
2666 2004-12-01 Miklos Szeredi <miklos@szeredi.hu>
2668 * kernel: clean up writing functions
2670 * kernel: no allocation on write in direct_io mode
2672 * move linux/fuse.h to fuse_kernel.h
2674 2004-11-30 Miklos Szeredi <miklos@szeredi.hu>
2676 * kernel: clean up reading functions
2678 2004-11-29 Miklos Szeredi <miklos@szeredi.hu>
2680 * kernel: make readpage() uninterruptible
2682 * kernel: check readonly filesystem flag in fuse_permission
2684 * lib: don't die if version file not found and new style device
2687 * lib: add '-r' option, which is short for '-o ro'
2689 * fusermount: simplify device opening
2691 * kernel: when direct_io is turend on, copy data directly to
2692 destination without itermediate buffer. More efficient and safer,
2693 since no allocation is done.
2695 * fusermount: fix warning if fuse module is not loaded
2697 * kernel: use /dev/fuse on 2.4 too
2699 2004-11-26 Miklos Szeredi <miklos@szeredi.hu>
2701 * libfuse API change: open, read, write, flush, fsync and release
2702 are passed a 'struct fuse_file_info' pointer containing the open
2703 flags (open and release), and the file handle. Verion changed to
2706 2004-11-23 Miklos Szeredi <miklos@szeredi.hu>
2708 * More cleanups in the kernel
2710 * The 10,229 charater device number has been assigned for FUSE
2712 * Version file checking fix (reported by Christian Magnusson)
2714 * fusermount: opening the fuse device now doesn't need /sys.
2716 * Optimize reading by controlling the maximum readahead based on
2717 the 'max_read' mount option
2719 * fixes for UCLIBC (Christian Magnusson)
2721 2004-11-19 Miklos Szeredi <miklos@szeredi.hu>
2723 * Cleaned up kernel in preparation for merge into mainline:
2725 * Use /sys/fs/fuse/version instead of /proc/fs/fuse/version
2727 * Use real device (/dev/fuse) instead of /proc/fs/fuse/dev
2729 * __user annotations for sparse
2731 * allocate individual pages instead of kmalloc in fuse_readdir,
2732 fuse_read and fuse_write.
2734 * Fix NFS export in case "use_ino" mount option is given
2736 * Make libfuse and fusermount compatible with future versions
2738 * fusermount: properly add mount options to /etc/mtab
2740 2004-11-15 Miklos Szeredi <miklos@szeredi.hu>
2742 * fusermount: do not resolve last component of mountpoint on if it
2743 is '.' or '..'. This new path resolvation is now done on mount as
2744 well as unmount. This enables relative paths to work on unmount.
2746 * fusermount: parse common mount options like "ro", "rw", etc...
2748 * Allow module params to be changed through sysfs
2750 2004-11-14 Miklos Szeredi <miklos@szeredi.hu>
2754 2004-11-14 Miklos Szeredi <miklos@szeredi.hu>
2756 * Fix bug in fuse_readpages() causing Oops in certain situations.
2757 Bug found by Vincenzo Ciancia.
2759 * Fix compilation with kernels versions > 2.6.9.
2761 2004-11-11 Miklos Szeredi <miklos@szeredi.hu>
2763 * Check kernel interface version in fusermount to prevent
2764 strangeness in case of mismatch.
2766 * No need to allocate fuse_conn until actual mount happens
2768 * Fix potential race between umount and fuse_invalidate
2770 * Check superblock of proc file in addition to inode number
2772 * Fix race between request_send_noreply() and fuse_dev_release()
2774 2004-11-10 Miklos Szeredi <miklos@szeredi.hu>
2776 * Separate configure for the kernel directory
2778 * Don't allow write to return more than 'count'
2780 * Extend kernel interface for future use
2782 2004-11-09 Miklos Szeredi <miklos@szeredi.hu>
2784 * Fix 'makeconf.sh' to use autoreconf if available
2786 2004-11-08 Miklos Szeredi <miklos@szeredi.hu>
2788 * Add ino argument to 'fuse_dirfil_t'. NOTE: This breaks source
2789 compatibility with earlier versions. To compile earier versions
2790 just add '-DFUSE_DIRFIL_COMPAT' compile flag or fix the source.
2791 Do not use the "use_ino" mount flag with filesystems compiled with
2794 * Add pkg-config support. To compile a FUSE based filesystem you
2795 can do "gcc -Wall `pkg-config --cflags --libs fuse` myfs.c -o myfs"
2796 or similar. Note, that the PKG_CONFIG_PATH environment variable
2797 usually needs to be set to "/usr/local/lib/pkgconfig".
2799 * fuse.h is now installed in ${prefix}/include/fuse/
2801 2004-11-02 Miklos Szeredi <miklos@szeredi.hu>
2803 * Added "use_ino" mount option. This enables the filesystems to
2804 set the st_ino field on files
2806 2004-11-01 Miklos Szeredi <miklos@szeredi.hu>
2808 * Fix compile problems with ancient (<=2.4.18) kernels (reported
2811 * Add "allow_root" mount option. Patch by Yaroslav Rastrigin
2813 * Clear the 'exited' flag when mail loop is finished
2815 2004-10-28 Miklos Szeredi <miklos@szeredi.hu>
2817 * Make xattr functions work under 2.6 (bug found by Vincenzo
2820 2004-10-26 Miklos Szeredi <miklos@szeredi.hu>
2822 * Reset request in fuse_flush() (bugreport by David Shaw)
2824 2004-10-21 Miklos Szeredi <miklos@szeredi.hu>
2826 * fuse_main() now does not exit on error, rather it returns an
2829 * Exported __fuse_setup() and __fuse_teardown() functions, which
2830 make it easier to implement a custom event loop.
2832 * Use daemon() call to background the filesystem after mounting.
2833 This function closes the standard input, output and error and
2834 changes the current working directory to "/".
2836 2004-10-14 Miklos Szeredi <miklos@szeredi.hu>
2840 2004-10-09 Miklos Szeredi <miklos@szeredi.hu>
2842 * Don't allow fuse_flush() to be interrupted (bug found by David
2845 2004-09-27 Miklos Szeredi <miklos@szeredi.hu>
2847 * Add PID to fuse_context. Patch by Steven James
2849 * Change file handle type to 'unsigned long' in kernel interface
2851 2004-09-22 Miklos Szeredi <miklos@szeredi.hu>
2853 * A slight API change: fuse_get_context() doesn't need the "fuse"
2854 pointer, but the returned context contains it instead. The
2855 fuse_get() function is not needed anymore, so it's removed.
2857 * Fix mounting and umounting FUSE filesystem under another FUSE
2858 filesystem by non-root (bug spotted by Valient Gough)
2860 2004-09-21 Miklos Szeredi <miklos@szeredi.hu>
2862 * Fix deadlock in case of memory allocation failure. Patch by
2865 2004-09-16 Miklos Szeredi <miklos@szeredi.hu>
2867 * Check memory allocation failures in libfuse
2869 2004-09-14 Miklos Szeredi <miklos@szeredi.hu>
2871 * Check temporary file creation failure in do_getdir(). Bug
2872 spotted by Terje Oseberg
2874 2004-09-13 Miklos Szeredi <miklos@szeredi.hu>
2876 * Allow "large_read" option for 2.6 kernels but warn of deprecation
2878 * Make requests non-interruptible so race with FORGET is avoided.
2879 This is only a temporary solution
2881 * Support compiling FUSE kernel module on 2.4.x UML kernels
2883 2004-09-09 Miklos Szeredi <miklos@szeredi.hu>
2885 * Fix bug in case two FORGETs for the same node are executed in
2886 the wrong order. Bug spotted and endured for months by Franco
2887 Broi, and logfile for solution provided by Terje Oseberg
2889 2004-09-01 Miklos Szeredi <miklos@szeredi.hu>
2891 * Add -D_REENTRANT to the compile flags
2893 * Add documentation of fuse internals by Terje Oseberg
2895 2004-08-16 Miklos Szeredi <miklos@szeredi.hu>
2897 * Change release method to be non-interruptible. Fixes bug
2898 causing missing release() call when program which has opened files
2899 is killed (reported by Franco Broi and David Shaw)
2901 2004-07-29 Miklos Szeredi <miklos@szeredi.hu>
2903 * Add fuse_invalidate() to library API
2905 2004-07-26 Miklos Szeredi <miklos@szeredi.hu>
2907 * Check permissions in setattr if 'default_permissions' flag is
2908 set. Bug spotted by Damjan Lango
2910 2004-07-24 Miklos Szeredi <miklos@szeredi.hu>
2912 * 'large_read' mount option removed for 2.6 kernels, since the
2913 default (dynamic read size) is better
2915 * Extend kernel API with file handles. A file handle is returned
2916 by open, and passed to read, write, flush, fsync and release.
2917 This is currently only used for debug output in the library.
2921 * Change the current directory to the mountpoint before checking
2922 the permissions and mount filesystem on "."
2924 * By default don't modprobe the fuse module for non-root. The old
2925 behavior can be restored with the '--enable-auto-modprobe' flag of
2928 * By default don't allow shared writable mappings for non-root.
2929 The old behavior can be restored with the 'user_mmap=1' module
2932 2004-07-23 Miklos Szeredi <miklos@szeredi.hu>
2934 * Clean up mount option passing to fusermount and to fuse_new()
2935 BEWARE: this changes the userspace API slightly, and the command
2936 line usage of programs using fuse_main()
2938 2004-07-20 Miklos Szeredi <miklos@szeredi.hu>
2940 * Optimize reading under 2.6 kernels by issuing multiple page
2941 asynchronous read requests
2943 2004-07-18 Miklos Szeredi <miklos@szeredi.hu>
2945 * Only use redirty_page_for_writepage() for kernels >= 2.6.6
2947 2004-07-16 Miklos Szeredi <miklos@szeredi.hu>
2949 * Separate directory entry and inode attribute validity timer
2951 * New write semaphore to stop page writeback during truncate
2953 * Fsync now waits for all writes to complete before sending the
2956 * Optimization: if a page is completely written by
2957 fuse_commit_write(), clear the dirty flag and set the uptodate
2960 * Some memory cleanup at exit
2962 2004-07-13 Miklos Szeredi <miklos@szeredi.hu>
2964 * Add FUSE_HARD_REMOVE flag, and '-i' option to fuse main, which
2965 disable the "hide if open" behavior of unlink/rename.
2967 * If temporary buffer allocation fails in raw read, fall back to a
2970 2004-07-12 Miklos Szeredi <miklos@szeredi.hu>
2972 * Fix bug in do_open() in libfuse: open count was incremented
2973 after the reply is sent so it could race with unlink/forget and
2976 2004-07-08 Miklos Szeredi <miklos@szeredi.hu>
2978 * When performing create or remove operation, refresh the parent's
2979 attributes on next revalidate, as i_nlink (and maybe size/time)
2982 * Use redirty_page_for_writepage() in fuse_writepage() for skipped
2985 * Set set_page_dirty address space operation (2.6 only)
2987 2004-07-06 Miklos Szeredi <miklos@szeredi.hu>
2989 * Minor fix in read: print debug info even if read size is zero
2991 2004-07-04 Miklos Szeredi <miklos@szeredi.hu>
2993 * Fix race between truncate and writepage (fsx-linux now runs
2996 2004-07-02 Miklos Szeredi <miklos@szeredi.hu>
2998 * Fix kernel hang on mkfifo under 2.4 kernels (spotted and patch
3001 * Added option for direct read/write (-r)
3003 * Fix revalidate time setting for newly created inodes
3005 * Remove uid==0 check for '-x' option in fusermount (kernel checks
3008 * fuse_main() only installs handlers for signals (out of INT, HUP,
3009 TERM, PIPE), for which no handler has yet been installed
3011 * Add module option 'user_allow_other' which if set to non-zero
3012 will allow non root user to specify the 'allow_other' mount option
3013 ('-x' option of fusermount)
3015 * Fix deadlock between page writeback completion and truncate
3016 (bug found by Valient Gough with the fsx-linux utility)
3018 2004-07-01 Miklos Szeredi <miklos@szeredi.hu>
3020 * Change passing fuse include dir to 2.6 kernel make system more
3021 robust (fixes compile problems seen on SuSE 9.1 with updated 2.6
3024 2004-06-30 Miklos Szeredi <miklos@szeredi.hu>
3026 * Acquire inode->i_sem before open and release methods to prevent
3027 concurrent rename or unlink operations.
3029 * Make __fuse_read_cmd() read only one command. This allows
3030 multiplexing the fuse file descriptor with other event sources
3031 using select() or poll() (patch by Jeff Harris)
3033 * Export 'exited' flag with __fuse_exited() (patch by Jeff Harris)
3035 2004-06-27 Miklos Szeredi <miklos@szeredi.hu>
3037 * Fix file offset wrap around at 4G when doing large reads
3039 2004-06-24 Miklos Szeredi <miklos@szeredi.hu>
3041 * Fix memory leak in open (Valient Gough)
3043 2004-06-24 Miklos Szeredi <miklos@szeredi.hu>
3045 * Add "close after delete" support to libfuse (patch by Valient
3048 * Cancel all worker threads before exit in multithreaded mode
3050 2004-06-23 Miklos Szeredi <miklos@szeredi.hu>
3054 * Don't send reply to RELEASE
3056 * Work with newer libtool (1.5a)
3058 * Check for st_atim member of struct stat
3060 2004-06-22 Miklos Szeredi <miklos@szeredi.hu>
3062 * No request allocation needed on inode and file release
3064 2004-06-21 Miklos Szeredi <miklos@szeredi.hu>
3066 * Fix possible inode leak in userspace in case of unfinished
3067 lookup/mknod/mkdir/symlink/link operation.
3069 2004-06-20 Miklos Szeredi <miklos@szeredi.hu>
3071 * Fix some races and cleanups in fuse_read_super()
3073 2004-06-19 Miklos Szeredi <miklos@szeredi.hu>
3075 * Requests are allocated at open time
3077 2004-06-03 Miklos Szeredi <miklos@szeredi.hu>
3079 * Build shared library as well as static (using libtool)
3081 * Change FUSE_MINOR_VERSION from 1 to 0. I know it's illegal but
3082 there has not been a release with the previous minor number, and I
3083 hope nobody is using it for anything.
3085 * Change fuse_main(), so that default behavior is to go into
3086 background if mount is successful. '-f' and '-d' options disable
3087 backgrounding. This fixes the "Why does my FUSE daemon hang?"
3090 * Cache ENOSYS (function not implemented) errors on *xattr, flush
3093 * Don't call getdir method from open() only from first readdir().
3094 Open is sometimes just used to store the current directory
3097 2004-05-18 Miklos Szeredi <miklos@szeredi.hu>
3099 * Added flush() call
3101 2004-05-04 Miklos Szeredi <miklos@szeredi.hu>
3103 * Extended attributes support for 2.4 (patch by Cody Pisto)
3105 2004-04-20 Miklos Szeredi <miklos@szeredi.hu>
3107 * Fixed parser with modversions (Mattias Wadman)
3109 2004-04-19 Miklos Szeredi <miklos@szeredi.hu>
3111 * Added mount option parser to 2.4 build
3113 2004-04-13 Miklos Szeredi <miklos@szeredi.hu>
3115 * Replaced binary mount data with text options
3117 * Show FUSE specific mount options in /proc/mounts
3119 * Check in fuse.h whether _FILE_OFFSET_BITS is set to 64
3121 2004-04-09 Miklos Szeredi <miklos@szeredi.hu>
3123 * Check some limits so userspace won't get too big requests
3125 2004-04-05 Miklos Szeredi <miklos@szeredi.hu>
3127 * Kill compile warning
3129 * Upgraded user-mount patch for 2.6.5
3131 2004-04-02 Miklos Szeredi <miklos@szeredi.hu>
3133 * Add detection of user-mode-linux to configure
3135 2004-03-31 Miklos Szeredi <miklos@szeredi.hu>
3137 * fixed zero size case for getxattr and listxattr
3139 2004-03-30 Miklos Szeredi <miklos@szeredi.hu>
3141 * new fusermount flag '-z': lazy unmount, default is not lazy
3143 * Extended attributes operations added (getxattr, setxattr,
3144 listxattr, removexattr)
3146 2004-03-25 Miklos Szeredi <miklos@szeredi.hu>
3148 * If filesystem doesn't define a statfs operation, then an
3149 all-zero default statfs is returned instead of ENOSYS
3151 2004-03-24 Miklos Szeredi <miklos@szeredi.hu>
3153 * Add FS_BINARY_MOUNTDATA filesystem flag for kernels > 2.6.4
3155 2004-03-09 Miklos Szeredi <miklos@szeredi.hu>
3157 * Fix for uClinux (Christian Magnusson)
3159 2004-03-02 Miklos Szeredi <miklos@szeredi.hu>
3161 * fuse_main() adds "-n progname" to the fusermount command line
3163 * More kernel interface changes:
3165 * Lookup/getattr return cache timeout values
3167 2004-02-25 Miklos Szeredi <miklos@szeredi.hu>
3169 * Clean up option parsing in fuse_main()
3171 * Added fuse_get() function which returns the fuse object created
3174 2004-02-20 Miklos Szeredi <miklos@szeredi.hu>
3176 * removed old way of mounting (fusermount mountpoint program)
3178 * more kernel interface changes:
3180 * added nanosecond precision to file times
3182 * removed interface version from mount data
3184 * added /proc/fs/fuse/version which contains MAJOR.MINOR
3186 2004-02-19 Miklos Szeredi <miklos@szeredi.hu>
3188 * statfs library API changed to match other methods. Since this
3189 is not backward compatible FUSE_MAJOR_VERSION is changed to 2
3191 * kernel interface changes follow:
3193 * statfs changed to 64 bits, added 'bavail' field
3195 * add generation number to lookup result
3197 * optimized mknod/mkdir/symlink/link (no separate lookup is
3200 * rdev size increased to 32 bits for mknod
3202 * kernel interface version changed to 3.1
3204 2004-02-18 Miklos Szeredi <miklos@szeredi.hu>
3206 * user-mount upgraded for 2.6.3 kernel
3208 2004-02-17 Miklos Szeredi <miklos@szeredi.hu>
3210 * Added user-mount.2.6.2-rc3.patch
3212 * Add FS_SAFE flag to fuse filesystem
3214 * fusermount should allow (un)mounting for non-root even if not
3217 2004-02-12 Miklos Szeredi <miklos@szeredi.hu>
3219 * Remove MS_PERMISSION mount flag (that means something else now)
3221 2004-02-10 Miklos Szeredi <miklos@szeredi.hu>
3223 * Added check for i_size_read/write functions to configure.in
3224 (patch by Valient Gough)
3226 2004-02-06 Miklos Szeredi <miklos@szeredi.hu>
3228 * Fixed writing >= 2G files
3230 * Check file size on open (with generic_file_open())
3232 * Readpage calls flush_dcache_page() after storing data
3234 * Use i_size_read/write for accessing inode->i_size
3236 * Make loopback mount of a fuse file work
3238 2004-02-04 Miklos Szeredi <miklos@szeredi.hu>
3242 2004-01-29 Miklos Szeredi <miklos@szeredi.hu>
3244 * Properly check if the inode exists in fuse_invalidate
3246 2004-01-27 Miklos Szeredi <miklos@szeredi.hu>
3248 * Added -q option for fusermount
3250 * fuse_unmount() now uses -q option of fusermount, so no error is
3251 printed if the cause of the program exit is that the filesystem
3252 has already been unmounted
3254 * Fix i_nlink correctness after rmdir/unlink
3256 2004-01-26 Miklos Szeredi <miklos@szeredi.hu>
3260 2004-01-26 Miklos Szeredi <miklos@szeredi.hu>
3262 * Fix typo (thanks Marcos Dione)
3264 * Compile fixes for 2.4 kernels
3266 2004-01-23 Miklos Szeredi <miklos@szeredi.hu>
3268 * Fix CONFIG_MODVERSIONS compile on 2.6
3270 2004-01-22 Miklos Szeredi <miklos@szeredi.hu>
3272 * Write all pending data before a RELEASE operation
3274 * Suppress 'Bad file descriptor' warning on exit
3276 * Replaced fusermount option '-d xxx' with '-n xxx' so it doesn't
3277 get confused with '-d' of fuse_main() (sorry about this change)
3279 * New fusermount option '-l' which enables big reads. Big reads
3280 are now disabled by default.
3282 * fuse_main() can accept fusermount arguments after a '--'
3284 2004-01-19 Miklos Szeredi <miklos@szeredi.hu>
3286 * Support for exporting filesystem over NFS (see README.NFS)
3288 2004-01-14 Miklos Szeredi <miklos@szeredi.hu>
3290 * Support non-blocking writepage on 2.6. This makes FUSE behave
3291 much more nicely in low-memory situations
3293 * Fix 32-bit dev handling in getattr and mknod for 2.6 kernels.
3294 (Note: the mknod method does not yet use 32bit device number)
3296 2004-01-13 Miklos Szeredi <miklos@szeredi.hu>
3300 2004-01-07 Miklos Szeredi <miklos@szeredi.hu>
3304 2004-01-06 Miklos Szeredi <miklos@szeredi.hu>
3306 * Integrated 2.6 kernel support patch by Michael Grigoriev
3308 * Improvements and cleanups for 2.6 kernels
3310 2004-01-05 Miklos Szeredi <miklos@szeredi.hu>
3312 * Added -d option to fusermount
3314 2003-12-15 Miklos Szeredi <miklos@szeredi.hu>
3316 * Added major+minor version to library API, and minor version to
3319 2003-12-13 David McNab <david@rebirthing.co.nz>
3321 * Implemented fsync support in examples/example.py
3323 * Implemented 'fsync' and 'statfs' methods in python
3326 2003-12-12 Miklos Szeredi <miklos@szeredi.hu>
3328 * Make it compile on 2.4.19.
3330 * Add fsync operation (write file failed on xemacs & vi)
3332 2003-12-12 David McNab <david@rebirthing.co.nz>
3334 * Added distutils support to the python module, as per standard
3335 python development practice
3337 2003-12-11 Miklos Szeredi <miklos@szeredi.hu>
3339 * Add file locking for mount/unmount (based on patch by Valient
3342 2003-12-11 David McNab <david@rebirthing.co.nz>
3344 * Python filesystem - was broken with python2.3, now fixed:
3345 - changed PyTuple_* calls to PySequence_*, because os.lstat
3346 is no longer returning a pure tuple
3347 - changed PyInt_Check() calls to also call PyLong_Check,
3348 to cover for cases (eg os.lstat) where longs are returned
3349 - Added support for file 'release' handling, which IMO is
3350 essential since this signals to a FS that writes to a file
3351 are complete (and therefore the file can now be disposed of
3352 meaningfully at the python filesystem's discretion)
3353 - Added '__init__' handler to base Fuse class, which allows
3354 your Python class to know the mountpoint and mount args,
3355 as attributes myfs.mountpoint, myfs.optlist, myfs.optdict
3358 - added 'mount.fuse' script (in util/ dir), which is meant to be
3359 symlinked from /sbin, and which allows FUSE filesystems to
3360 be mounted with the 'mount' command, and listed in fstab;
3361 also, mount arguments get passed to your filesystem
3364 2003-11-04 Miklos Szeredi <miklos@szeredi.hu>
3366 * Fix kernel version detection (again). Bugreport by Peter Levart
3368 2003-11-03 Miklos Szeredi <miklos@szeredi.hu>
3370 * Applied read combining patch by Michael Grigoriev (tested by
3371 Valient Gough and Vincent Wagelaar)
3373 2003-10-22 Miklos Szeredi <miklos@szeredi.hu>
3375 * Mtab handling fix in fusermount by "Valient Gough" (SF patch
3378 2003-10-13 Miklos Szeredi <miklos@szeredi.hu>
3380 * Error code fixes in kernel module
3382 2003-10-04 Miklos Szeredi <miklos@szeredi.hu>
3384 * kernel version detection fix
3386 * fusermount now uses "lazy" umount option
3388 * fusermount can use modprobe with module-init-tools
3390 2003-09-08 Miklos Szeredi <miklos@szeredi.hu>
3392 * Integrated caching patch by Michael Grigoriev
3394 * Added "Filesystems" file with descriptions of projects using
3397 * Added patch by Michael Grigoriev to allow compliation of FUSE
3398 kernel module for 2.6 kernels
3400 2003-06-02 Miklos Szeredi <miklos@szeredi.hu>
3402 * And another spec-file fix by Achim Settelmeier
3404 2003-05-26 Miklos Szeredi <miklos@szeredi.hu>
3406 * Spec-file fix by Achim Settelmeier
3408 2003-03-10 Miklos Szeredi <miklos@szeredi.hu>
3410 * Fix umount oops (found by Samuli Kärkkäinen)
3412 2003-03-05 Miklos Szeredi <miklos@szeredi.hu>
3414 * Merge of fuse_redhat.spec and fuse.spec by Achim Settelmeier
3416 2003-03-04 Miklos Szeredi <miklos@szeredi.hu>
3418 * Updated fuse.spec file (Achim Settelmeier)
3420 2003-02-19 Miklos Szeredi <miklos@szeredi.hu>
3422 * Version 1.0 released
3424 2003-02-12 Miklos Szeredi <miklos@szeredi.hu>
3426 * SuSE compilation fix by Juan-Mariano de Goyeneche
3428 2002-12-10 Miklos Szeredi <miklos@szeredi.hu>
3430 * The release() VFS call is now exported to the FUSE interface
3432 2002-12-05 Miklos Szeredi <miklos@szeredi.hu>
3434 * 64 bit file offset fixes in the fuse kernel module
3436 * Added function 'fuse_exit()' which can be used to exit the main
3439 2002-12-03 Miklos Szeredi <miklos@szeredi.hu>
3441 * Added _FILE_OFFSET_BITS=64 define to fuse.h. Note, that this is
3442 an incompatible interface change.
3444 2002-10-28 Miklos Szeredi <miklos@szeredi.hu>
3446 * Portablility fix (bug reported by C. Chris Erway)
3448 2002-10-25 Miklos Szeredi <miklos@szeredi.hu>
3450 * Use Mark Glines' fd passing method for default operation instead
3453 2002-10-22 Miklos Szeredi <miklos@szeredi.hu>
3455 * fix "Stale NFS file handle" bug caused by changes in 2.4.19
3457 2002-10-22 Miklos Szeredi <miklos@szeredi.hu>
3459 * fix incompatiblity with Red Hat kernels, with help from Nathan
3462 2002-04-18 Mark Glines <mark@glines.org>
3464 * added an alternative to fuse_mount(), called
3465 fuse_mount_ioslave(), which does not need to reexec the
3467 * added a small helper util needed by fuse_mount_ioslave().
3469 2002-03-16 Mark Glines <mark@glines.org>
3471 * use struct fuse_statfs everywhere possible to avoid problems
3472 with the headerfiles changing struct statfs member sizes
3474 2002-03-01 Miklos Szeredi <miklos@szeredi.hu>
3476 * Another RPM spec file for RedHat >= 7 by Ian Pilcher
3478 2002-01-14 Miklos Szeredi <miklos@szeredi.hu>
3480 * RPM support by Achim Settelmeier
3482 2002-01-09 Miklos Szeredi <miklos@szeredi.hu>
3484 * Version 0.95 released
3486 2002-01-09 Miklos Szeredi <miklos@szeredi.hu>
3488 * Revaidate all path components not just the last, this means a
3489 very small performance penalty for being more up-to-date.
3491 2002-01-08 Miklos Szeredi <miklos@szeredi.hu>
3493 * Update and fix python interface
3495 2002-01-07 Mark Glines <mark@glines.org>
3497 * Added statfs() support to kernel, lib, examples, and perl!
3499 2001-12-26 Miklos Szeredi <miklos@szeredi.hu>
3501 * Better cross compilation support
3503 * Ported to Compaq IPAQ
3505 2001-12-20 Miklos Szeredi <miklos@szeredi.hu>
3507 * Added function fuse_get_context() to library API (inspired by
3508 patch from Matt Ryan)
3510 * Added flags to fusermount and to kernel interface to control
3513 * Integrated fuse_set_operations() into fuse_new()
3515 2001-12-08 Miklos Szeredi <miklos@szeredi.hu>
3517 * Applied header protection + extern "C" patch by Roland
3520 2001-12-02 Miklos Szeredi <miklos@szeredi.hu>
3522 * Added perl bindings by Mark Glines
3524 2001-11-21 Miklos Szeredi <miklos@szeredi.hu>
3526 * Cleaned up way of mounting simple filesystems.
3528 * fuse_main() helper function added
3530 2001-11-18 Miklos Szeredi <miklos@szeredi.hu>
3532 * Optimized read/write operations, so that minimal copying of data
3535 2001-11-14 Miklos Szeredi <miklos@szeredi.hu>
3537 * Python bindings by Jeff Epler added
3539 2001-11-13 Miklos Szeredi <miklos@szeredi.hu>
3541 * Fixed vfsmount reference leak in fuse_follow_link
3543 * FS blocksize is set to PAGE_CACHE_SIZE, blksize attribute from
3544 userspace is ignored
3546 2001-11-09 Miklos Szeredi <miklos@szeredi.hu>