Displaying 20 results from an estimated 5000 matches similar to: "Suggestions to fix orphan dir cleanup"
2009 Mar 06
1
[PATCH 1/1] Patch to recover orphans in offline slots during recovery and mount (revised)
During recovery, a node recovers orphans in it's slot and the dead node(s). But
if the dead nodes were holding orphans in offline slots, they will be left
unrecovered.
If the dead node is the last one to die and is holding orphans in other slots
and is the first one to mount, then it only recovers it's own slot, which
leaves orphans in offline slots.
This patch queues complete_recovery
2009 Mar 06
0
[PATCH 1/1] ocfs2: recover orphans in offline slots during recovery and mount
During recovery, a node recovers orphans in it's slot and the dead node(s). But
if the dead nodes were holding orphans in offline slots, they will be left
unrecovered.
If the dead node is the last one to die and is holding orphans in other slots
and is the first one to mount, then it only recovers it's own slot, which
leaves orphans in offline slots.
This patch queues complete_recovery
2009 Mar 04
2
[PATCH 1/1] Patch to recover orphans in offline slots during recovery and mount
During recovery, a node recovers orphans in it's slot and the dead node(s). But
if the dead nodes were holding orphans in offline slots, they will be left
unrecovered.
If the dead node is the last one to die and is holding orphans in other slots
and is the first one to mount, then it only recovers it's own slot, which
leaves orphans in offline slots.
This patch queues complete_recovery
2009 Feb 28
1
[PATCH 1/1] Patch to recover orphans in offline slots during recovery.
In the current recovery procedure, recovering node recovers orphans from the
slot it is holding and the slots that dead nodes were holding. Other online
nodes recover orphans from their slots. But orphans in offline slots are left
un-recovered.
This patch queues recovery_completion for offline slots.
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
---
fs/ocfs2/journal.c | 21
2009 Feb 28
1
[PATCH 1/1] Patch to recover orphans from the slot during mount
Currently we only queue recovery during mount if the journal is dirty.
If the last node holding orphans in other node's orphan directory dies and
is the first one to mount then it only recovers its orphan directory which
leaves the orphans in other nodes slots. Since the other nodes journals are
clean they will not queue to recover their orphan directory.
This patch queues to recover orphans
2009 Apr 07
1
Backport to 1.4 of patch that recovers orphans from offline slots
The following patch is a backport of patch that recovers orphans from offline
slots. It is being backported from mainline to 1.4
mainline patch: 0001-Patch-to-recover-orphans-in-offline-slots-during-rec.patch
Thanks,
--Srini
2009 May 19
2
[PATCH 1/1] OCFS2: timer to queue scan of all orphan slots
On unlink, all nodes check for the dentry in dcache and if present they mark
the node as unlinked. The last node that purges the inode will clean it from
orphan directory. When there is a memory pressure, a dentry may not be around
and hence the inode is not marked as deleted and this will lead the file to be
in the orphan directory till the slot is re-used during next mount.
This patch initiates
2009 Apr 30
1
orphan cleanup
Srini,
Ok, you can go ahead and cook up the background orphan cleaner.
Now, we can do this in a workqueue, a thread, or a timer. I don't see
why a timer doesn't work. When the timer fires, you do this:
1. Take EX on a new orphan_scan lock.
2. check the LVB for the last scan time. If it's less than the scan
timeout, reset the timer for (timeout - last scan), drop the EX, and
2009 Jun 18
3
[PATCH 0/2] orphan lock fixes for local mode.
Hi Joel/Srini,
Here are 2 patches for orphan lock in local mode.
patch 1:
In local mode, we don't need lvb, so don't init it.
patch 2:
In local mode, orphan lock and unlock don't need to go to dlm part.
Regards,
Tao
2009 Jun 04
2
Backport that adds delayed orphan scan timer to 1.4
Next two patches are backport of orphan scan timer patches to ocfs2-1.4
2009 May 01
1
[GIT PULL] ocfs2 fixes
Linus, et al,
Here are the outstanding ocfs2 fixes we have for 2.6.30. The
important ones are journal credit fixes for the new indexed directories.
There's also MAINTAINERS update for my ocfs2 git tree. Please pull.
Joel
The following changes since commit 612392307cb09e49051225092cbbd7049bd8db93:
Ryusuke Konishi (1):
nilfs2: support nanosecond timestamp
are available in the
2009 Jun 02
3
Patches that adds delayed orphan scan timer
Resending after adding another patch to display delayed orphan scan statistics.
2009 Jun 04
3
Patches that adds delayed orphan scan timer (rev 3)
Resending after implementing review comments.
2009 Feb 19
2
Patch to recover orphans in offline slots
This patch is against ocfs2-1.4 and also applies to ocfs2-1.2. ocfs2 mainline
requires only the first portion of the patch and hence will make a separate
patch for that.
2009 Jun 02
3
Patches that adds delayed orphan scan timer (rev 2)
Resending after implementing review comments.
2010 Aug 20
0
[PATCH] ocfs2: Don't delete orphaned files if we are in the process of umount.
Generally, orphan scan run in ocfs2_wq and is used to replay orphan
dir. So for some low end iscsi device, the delete_inode may take
a long time(In some devices, I have seen that delete 500 files will
take about 15 secs). This will eventually cause umount to
livelock(umount has to flush ocfs2_wq which will wait until orphan
scan to finish).
So this patch just try to finish the orphan scan
2009 Feb 28
2
Patch to move ocfs2_slot_info to slot_map.h
Next 3 patches does the following
1) movies ocfs2_slot_info struct from slot_map.c to slot_map.h
2) patch to recover orphans during mount even if the journal is clean
3) patch to recovery orphans in offline slots
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
2009 Jun 24
0
[STABLE, 2.6.30.x] ocfs2: Fix ocfs2_osb_dump()
Stable folks,
When a user creates a local (non-clustered) ocfs2 filesystem,
accessing the /sys/kernel/debug/<uuid>/fs_state file will crash the
system. This patch fixes the crash by correctly handling local
filesystems. The problem was introduced with 2.6.30 and does not affect
2.6.29. It is mainline commit c3d38840abaa45c1c5a5fabbb8ffc9a0d1a764d1.
Joel
From: Sunil Mushran
2009 Apr 21
0
[PATCH] ocfs2: Fix some printk() warnings.
The old %llu vs u64 battle. Cast them correctly.
Signed-off-by: Joel Becker <joel.becker at oracle.com>
---
fs/ocfs2/export.c | 9 +++++----
fs/ocfs2/suballoc.c | 19 ++++++++++++-------
2 files changed, 17 insertions(+), 11 deletions(-)
diff --git a/fs/ocfs2/export.c b/fs/ocfs2/export.c
index de3da8e..15713cb 100644
--- a/fs/ocfs2/export.c
+++ b/fs/ocfs2/export.c
@@ -100,7 +100,8