Displaying 20 results from an estimated 22 matches for "global_bitmap".
2010 Nov 23
1
Understanding debugfs.ocfs2 output
...ould script something up to periodically
check the free contiguous blocks in the group chains for the volume in
question.
Reading the note, I get how to get Clusters per Group X Bits per Cluster
from the "stat //extent_alloc:NNNN". What I'm confused about is parsing
the "stat //global_bitmap" section, and I thought I might have a better
chance of getting an explanation from the audience here.
I have 2 basic questions:
1) The note above says that a "highly fragmented volume will have many"
Group Chain entries in the //global_bitmap section, but gives no
guidance as to w...
2023 Feb 17
1
[PATCH] ocfs2: fix non-auto defrag path not working issue
This commit fixes three issues on non-auto defrag path (defragfs.ocfs2
doesn't set OCFS2_MOVE_EXT_FL_AUTO_DEFRAG on range.me_flags):
- For ocfs2_find_victim_alloc_group(), old code forgot enlarge bitmap
range for global_bitmap case. Old code could generate negative
vict_bit.
- For ocfs2_probe_alloc_group(), old code forgot back off move_len when
finding enough bitmap space. Old code has possibility to make data
corruption.
- For ocfs2_ioctl_move_extents(), this func should set me_threshold for
both auto & non...
2007 Sep 06
1
60% full and writes fail..
...obal_inode_alloc
37 -rw-r--r-- 1 0 0 65536
16-Aug-2007 22:01 slot_map
38 -rw-r--r-- 1 0 0 1048576
16-Aug-2007 22:01 heartbeat
39 -rw-r--r-- 1 0 0 249999654912
16-Aug-2007 22:01 global_bitmap
40 drwxr-xr-x 2 0 0 4096
6-Sep-2007 19:13 orphan_dir:0000
41 drwxr-xr-x 2 0 0 16384
6-Sep-2007 09:34 orphan_dir:0001
42 drwxr-xr-x 2 0 0 4096
16-Aug-2007 22:01 orp...
2012 May 30
4
Reproducing fragmentation and out of space error
Recently I ran into a situation where an ocfs2 (1.4) volume was
reporting it was out of space when it was not. Deleting some files
helped short term but the problem quickly comes back.
I believe this is due to the fragmentation bug that I have seen
references to in the mailing list archive. I am trying to reproduce the
problem on a test system so that I can validate that upgrading to 1.6
2007 Nov 16
8
[PATCH 0/6] Add online resize for ocfs2-tools,take 1
Add online resize in tunefs.ocfs2 so that user can increase
the volume when it is mounted.
2010 Nov 03
2
[PATCH 1/2] Ocfs2: Add a new code 'OCFS2_INFO_FREEINODE' for o2info ioctl.
The new code is dedicated to calculate free inodes number of all inode_allocs,
then return the info to userpace in terms of an array.
Specially, flag 'OCFS2_INFO_FL_NON_COHERENT', manipulated by '--cluster-coherent'
from userspace, is now going to be involved. setting the flag on means no cluster
coherency considered, usually, userspace tools choose none-coherency strategy by
2004 Aug 02
6
Calculating volume size from superblock
Another simple question.
How do I calculate the size of the volume from the superblock?
Do I just use the two fields:
u_int32_t s_blocksize_bits; /* Blocksize for this fs */
u_int32_t s_clustersize_bits; /* Clustersize for this fs */
What is the formula to use?
Thanks,
John
2009 Feb 26
3
[PATCH 0/3] ocfs2-1.4: Backport inode alloc from mainline.
Hi all,
this patch set are the backport of inode alloc improvement from
mainline to ocfs2-1.4.
the patches are almost the same excpet one thing:
Joel has added JBD2 support to ocfs2, so he has added "max_blocks" to
alloc_context and add a new function
"ocfs2_reserve_clusters_with_limit". We don't have that in ocfs2-1.4. So
there are some great difference in patch 2.
2009 Feb 24
2
[PATCH 1/3] ocfs2: Optimize inode allocation by remembering last group.
In ocfs2, the inode block search looks for the "emptiest" inode
group to allocate from. So if an inode alloc file has many equally
(or almost equally) empty groups, new inodes will tend to get
spread out amongst them, which in turn can put them all over the
disk. This is undesirable because directory operations on conceptually
"nearby" inodes force a large number of seeks.
So
2006 Sep 20
6
ocfs2 - disk usage inconsistencies
Hi all.
I have a 50 GB OCFS2 file system. I'm currently using ~26GB of space
but df is reporting 43 GB used. Any ideas how to find out where the
missing 17GB is at?
The file system was formatted with a 16K cluster & 4K block size.
Thanks,
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2008 Feb 27
6
"no space left on device" related to directory limit
Hello,
We have a 3-node cluster setup with ocfs2.
Since friday one of the nodes went down and would not become clustermember after a reboot because it was unable to write to the ocfs2 filesystem. Message: no space left on device.
There is plenty of diskspace though.
No problem whatsoever to create a file / directory on the filesystem using one of the other nodes.
Today one of the remaining
2009 Jul 27
11
[PATCH 0/8] Quota support for ocfs2-tools
Hi,
I'm sending a series of patches implementing quota support into ocfs2-tools.
It's the same as the original huge patch I've sent but now it's split as Joel
asked. I've also realized that when disabling SPARSE feature, we should update
quota information. That piece of code is missing, I'll implement it soon.
Comments welcome.
Honza
2009 Jul 30
11
[PATCH 0/9] Quota support for ocfs2-tools (version 2)
Hi,
this is the next version of quota support for quota tools. I've addressed all
the comments of Tao, Joel and others. Sparse feature disabling also correctly
updates quota information now and the patch is merged into the tunefs support
patch.
Honza
2010 Dec 09
2
servers blocked on ocfs2
Hi,
we have recently started to use ocfs2 on some RHEL 5.5 servers (ocfs2-1.4.7)
Some days ago, two servers sharing an ocfs2 filesystem, and with quite
virtual services, stalled, in what it seems on ocfs2 issue. This are the
lines in their messages files:
=====node heraclito (0)========================================
/Dec 4 09:15:06 heraclito kernel: o2net: connection to node parmenides
2009 Jan 15
5
[PATCH 0/3] ocfs2: Inode Allocation Strategy Improvement.v2
Changelog from V1 to V2:
1. Modify some codes according to Mark's advice.
2. Attach some test statistics in the commit log of patch 3 and in
this e-mail also. See below.
Hi all,
In ocfs2, when we create a fresh file system and create inodes in it,
they are contiguous and good for readdir+stat. While if we delete all
the inodes and created again, the new inodes will get spread out and
that
2009 Mar 17
33
[git patches] Ocfs2 updates for 2.6.30
...Remove struct dlm_lock_name in struct dlm_master_list_entry
ocfs2/dlm: Do not purge lockres that is being migrated dlm_purge_lockres()
ocfs2/dlm: Tweak mle_state output
Tao Ma (3):
ocfs2: Optimize inode allocation by remembering last group
ocfs2: Allocate inode groups from global_bitmap.
ocfs2: Optimize inode group allocation by recording last used group.
wengang wang (1):
ocfs2: fix rare stale inode errors when exporting via nfs
--
Mark Fasheh
2009 Aug 03
9
[PATCH 0/9] Quota support for ocfs2-tools (version 3)
Hi,
below comes a new version of the series of patches implementing quota support
for ocfs2-tools. I've fixed the calls of ocfs2_malloc_blocks() which were given
number of bytes instead of number of blocks. Besides that the series should be
the same.
Honza
2009 Apr 17
26
OCFS2 1.4: Patches backported from mainline
Please review the list of patches being applied to the ocfs2 1.4 tree.
All patches list the mainline commit hash.
Thanks
Sunil
2009 Mar 27
42
[PATCH 00/42] ocfs2: Add reflink file support. V1
Hi all,
So I have finally finished the v1 of reflink for ocfs2. It has some
bugs that I am still investigating, but the schema is almost there. So
I'd like to send it out first for review. And Tristan and I will
continue to work on the stability of the code.
The general information for reflink, please see
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/Reflink.
For the design doc, please
2009 Apr 03
42
[PATCH 00/42] ocfs2: Add reflink file support. V2
Hi all,
Change from v1 to v2: bug fix and metadata/credits reservation
improvement.
The general information for reflink, please see
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/Reflink.
For the design doc, please see
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/RefcountTrees
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/ReflinkOperation