summaryrefslogtreecommitdiff
path: root/kerncompat.h
Commit message (Collapse)AuthorAge
* multidevice support for check_mountedAndi Drebes2010-09-23
| | | | | | | | | | | | | | Check_mount() should also work with multi device filesystems. This patch adds checks that allow to detect if a file is a device file used by a mounted single or multi device btrfs or if it is a regular file used by a loopback device that is part of a mounted single or multi device btrfs. The single device checks also work for non-btrfs filesystems. This might be helpful to prevent users from running btrfs programs (e.g. mkfs.btrfs) accidentally on a filesystem used somewhere else. Signed-off-by: Andi Drebes <lists-receive@programmierforen.de>
* Mixed back reference (FORWARD ROLLING FORMAT CHANGE)Chris Mason2009-06-08
| | | | | | | | | | | | | | | | | This commit introduces a new kind of back reference for btrfs metadata. Once a filesystem has been mounted with this commit, IT WILL NO LONGER BE MOUNTABLE BY OLDER KERNELS. The new back ref provides information about pointer's key, level and in which tree the pointer lives. This information allow us to find the pointer by searching the tree. The shortcoming of the new back ref is that it only works for pointers in tree blocks referenced by their owner trees. This is mostly a problem for snapshots, where resolving one of these fuzzy back references would be O(number_of_snapshots) and quite slow. The solution used here is to use the fuzzy back references in the common case where a given tree block is only referenced by one root, and use the full back references when multiple roots have a reference
* Update BUG_ON and WARN_ONShen Feng2009-01-07
| | | | | | | Define BUG_ON and WARN_ON as assert for easy debugging. Signed-off-by: Shen Feng <shen@cn.fujitsu.com>
* Add mirroring support across multiple drivesChris Mason2008-04-03
|
* Walk all block devices looking for btrfsChris Mason2008-03-24
|
* Update btrfs-progs to match kernel sourcesYan2008-01-04
|
* Create macros to generation set/get funcs for on disk structuresChris Mason2007-12-12
|
* Update btrfs-progs to better match the kernelYan2007-12-05
|
* i386 fixes from axboeChris Mason2007-06-12
|
* add GPLv2Chris Mason2007-06-12
|
* endian fixes, makefile fixesChris Mason2007-06-07
|
* add owner and type fields to the extents aand block headersChris Mason2007-04-20
|
* sync up with kernel sourcesChris Mason2007-04-02
|
* Use a chunk of the key flags to record the item type.Chris Mason2007-03-15
| | | | | | Add (untested and simple) directory item code Fix comp_keys to use the new key ordering Add btrfs_insert_empty_item
* struct key endian fixesChris Mason2007-03-12
|
* Add sparse endian annotations to struct headerChris Mason2007-03-12
| | | | rename struct header to btrfs_header
* u64 cleanupsChris Mason2007-02-26
|
* Add backing store, memory managementChris Mason2007-02-02
|
* Faster deletes, add Makefile and kerncompatChris Mason2007-01-26