Displaying 20 results from an estimated 10000 matches similar to: "Fwd: [RFC] Improved versioned pointer algorithms"
2008 Jul 13
9
[RFC] Improved versioned pointer algorithms
Greetings, filesystem algorithm fans.
The recent, detailed description of the versioned pointer method for
volume versioning is here:
http://linux.derkeiler.com/Mailing-Lists/Kernel/2008-07/msg02663.html
I apologize humbly for the typo in the first sentence. Today''s revision
of the proof of concept code is cleaned up to remove some redundant
logic from the exception delete and
2013 Jan 17
2
btrfs: could not do orphan cleanup -22
I booted the guest in which i was testing btrfs (transient ENOSPC
issues, etc). It booted in emergency mode.
[ 6.705187] device label testfs1 devid 1 transid 4141 /dev/sdb1
[ 6.724353] device label fedora devid 1 transid 2036 /dev/sda2
[ 6.780931] device label fedora devid 1 transid 2036 /dev/sda2
[ 6.817157] snd_hda_intel 0000:00:04.0: irq 42 for MSI/MSI-X
[ 6.818326]
2009 Jul 07
1
Ghost file.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I mentioned a ghost file. Here is the dump (less than 65M):
http://dev.mccme.ru/~raskin/btrfs.dump
ghost file is:
885dj1l4788pymp3bk2f3dz52ggcvw4v-empty/garbage-1/mwave.h.tmp-31838-1822528541
It has a name, but stat fails (so no inode, I guess). Also I can create
another file with the same name in the directory. I cannot remove the
file, or
2010 Oct 25
2
[PATCH] Btrfs: allow subvol deletion by unprivileged user with -o user_subvol_rm_allowed
Add a mount option user_subvol_rm_allowed that allows users to delete a
(potentially non-empty!) subvol when they would otherwise we allowed to do
an rmdir(2). We duplicate the may_delete() checks from the core VFS code
to implement identical security checks (minus the directory size check).
Signed-off-by: Sage Weil <sage@newdream.net>
---
fs/btrfs/ctree.h | 1 +
fs/btrfs/ioctl.c |
2007 Dec 04
0
[ANNOUNCE] Btrfs v0.9
Hello everyone,
I've just tagged and released Btrfs v0.9. Special thanks to Yan Zheng
and Josef Bacik for their work.
This release includes a number of disk format changes from v0.8 and
also a small change from recent btrfs-unstable HG trees. So, if you
have existing Btrfs filesystems, you will need to backup, reformat and
restore to try out v0.9.
You can find download links and other
2007 Dec 04
0
[ANNOUNCE] Btrfs v0.9
Hello everyone,
I've just tagged and released Btrfs v0.9. Special thanks to Yan Zheng
and Josef Bacik for their work.
This release includes a number of disk format changes from v0.8 and
also a small change from recent btrfs-unstable HG trees. So, if you
have existing Btrfs filesystems, you will need to backup, reformat and
restore to try out v0.9.
You can find download links and other
2012 May 02
2
could not do orphan cleanup - openSUSE 12.1
Hi btrfs-team/-users,
I do observe a strange behavior upon booting of my openSUSE 12.1 system
( kernel 3.1.10-1.9-desktop; x86_64 ) with btrfsprogs-0.19-43.7.1.x86_64
utils installed:
The system has two btrfs-vols: root(sda7) & home(sda8) and had been
created during system setup of openSUSE 12.1:
# btrfs filesystem show
Label: none uuid: a288fcff-28c8-4764-8efe-1e0cb205d588
2010 Jan 25
1
[PATCH] Btrfs: fix another orphan cleanup problem
Because orphan cleanup now happens well after the fs is all initialized and
such, we can run into this problem where we find orphan entries that were just
added to the fs, not ones that were added previously during a crash. This does
not bode well for the system, and results in a couple of odd things happening,
like truncate being run on non-regular files. In order to fix this we just
check and
2010 Jan 15
0
[PATCH] Btrfs: fix regression in orphan cleanup
Currently orphan cleanup only ever gets triggered if we cross subvolumes during
a lookup, which means that if we just mount a plain jane fs that has orphans in
it, they will never get cleaned up. This results in panic''s like these
http://www.kerneloops.org/oops.php?number=1109085
where adding an orphan entry results in -EEXIST being returned and we panic. In
order to fix this, we
2011 Sep 21
3
[PATCH] Btrfs: fix orphan cleanup regression
In fixing how we deal with bad inodes, we had a regression in the orphan cleanup
code, since it expects to get a bad inode back. So fix it to deal with getting
-ESTALE back by deleting the orphan item manually and moving on. Thanks,
Reported-by: Simon Kirby <sim@hostway.ca>
Signed-off-by: Josef Bacik <josef@redhat.com>
---
fs/btrfs/inode.c | 36
2011 Oct 04
3
[PATCH] Btrfs: break out of orphan cleanup if we can't make progress V2
I noticed while running xfstests 83 that if we didn''t have enough space to
delete our inode the orphan cleanup would just loop. This is because it keeps
finding the same orphan item and keeps trying to kill it but can''t because we
don''t get an error back from iput for deleting the inode. So keep track of the
last guy we tried to kill, if it''s the same as the
2010 Mar 22
0
[PATCH] Btrfs: change direct I/O read to not use i_mutex.
This depends on the change to ordered data search.
Signed-off-by: jim owens <owens6336@gmail.com>
---
fs/btrfs/dio.c | 150 +++++++++++++++++++++++++++++++++++++++-----------------
1 files changed, 104 insertions(+), 46 deletions(-)
diff --git a/fs/btrfs/dio.c b/fs/btrfs/dio.c
index b6934be..c930ff5 100644
--- a/fs/btrfs/dio.c
+++ b/fs/btrfs/dio.c
@@ -435,14 +435,81 @@ static void
2011 Dec 02
3
[PATCH] Btrfs: protect orphan block rsv with spin_lock
We''ve been seeing warnings coming out of the orphan commit stuff forever from
ceph. Turns out it''s because we''re racing with checking if the orphan block
reserve is set, because we clear it outside of the spin_lock. So leave the
normal fastpath checks where they are, but take the spin_lock and _recheck_ to
make sure we haven''t had an orphan block rsv added in
2009 Nov 12
0
[PATCH 05/12] Btrfs: Avoid orphan inodes cleanup during replaying log
We do log replay in a single transaction, so it''s not good to
do unbound operations during replaying log. This patch makes
orphan inodes cleanup executed after replaying log. It also
avoid doing other unbound operations such as truncating a file
during replaying log. These unbound operations are postponed
to the orphan inode cleanup stage.
Signed-off-by: Yan Zheng
2013 May 20
2
[PATCH] Btrfs: fix estale with btrfs send
This fixes bugzilla 57491. If we take a snapshot of a fs with a unlink ongoing
and then try to send that root we will run into problems. When comparing with a
parent root we will search the parents and the send roots commit_root, which if
we''ve just created the snapshot will include the file that needs to be evicted
by the orphan cleanup. So when we find a changed extent we will try
2008 Jun 24
1
[RFC][PATCH] btrfs orphan code
Hello,
I want to throw this out here now that I''ve got most of the heavy lifting done
for this code to make sure what I''m doing is ok for now. I''ve added an
ORPHAN_DIR item key to have a hidden dir per root. Right now it just does it
for whatever the default root is on mount, but I''m going to fix that to do the
orphan dir check/creation on lookup of a
2008 Feb 21
0
[ANNOUNCE] Btrfs v0.13
Hello everyone,
Btrfs v0.13 is now available for download from:
http://oss.oracle.com/projects/btrfs/
We took another short break from the multi-device code to make the minor mods
required to compile on 2.6.25, fix some problematic bugs and do more tuning.
v0.13 has no disk format changes since v0.12.
The most important fix is for file data checksumming errors. These might show
up on .o
2010 Aug 03
4
why does btrfs pronounce "butter-eff-ess"?
As far as I know, btrfs comes from "btree file system", but why does
btrfs pronounce "butter-eff-ess"?
--
Wang Shaoyan
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
2012 Jan 05
4
[RFC][PATCH 3/3] Btrfs: improve truncation of btrfs
The original truncation of btrfs has a bug, that is the orphan item will not be
dropped when the truncation fails. This bug will trigger BUG() when unlink that
truncated file. And besides that, if the user does pre-allocation for the file
which is truncated unsuccessfully, after re-mount(umount-mount, not -o remount),
the pre-allocated extent will be dropped.
This patch modified the relative
2011 Aug 03
6
BTRFS partition won't mount
Hello all,
I recently had a power failure and can no longer mount my /home directory. The harddrive has two BTRFS partitions: sda7(/) and sda8(/home). The / partition loads up just fine, but /home does not. I''ve tried btrfsck as shown below and I''ve included dmesg pertaining to btrfs. This is on ArchLinux and the software versions are as follows:
btrfs-progs-unstable