search for: clustersize

Displaying 20 results from an estimated 60 matches for "clustersize".

Did you mean: cluster_size
2023 Apr 21
1
[PATCH] ocfs2: Fix wrong search logic in __ocfs2_resv_find_window
On Fri, Apr 21, 2023 at 03:35:01PM +0800, Joseph Qi wrote: > Hi, > Could you please share a reproducer? > Anyone could access & download the URL [1] (I wrote it in patch commit log) without register SUSE account. Please check attachment file, which I downloaded from [1] and modified under the BZ comment 1. The trigger method is also in comment 1, I copy here: ./defragfs_test.sh -d
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
2004 Jul 26
3
Maximum and minimum OCFS2 volume sizes?
Just a quick question. What is the maximum and minimum volume sizes that OCFS2 supports? I'm working on doing a plugin for EVMS to support OCFS2. One of the functions needs that info. Thanks, John
2008 Jul 15
1
Much higher disk usage in OCFS2 then in XFS
Hi all, I created a OCFS2 volume with a block size of 4kB and a clustersize of 4kB. After I mounted the volume the first time there have been already over 600 MB in use. Then I started to copy a directory with a overall size of 1784 MB(measured on an XFS with "du"). After an hour about 4 GB(!) have been used on the OCFS2 volume so I stopped the copy. The file...
2023 Feb 20
1
[PATCH v2] ocfs2: fix non-auto defrag path not working issue
...+ i -= move_len; *goal_bit = i; *phys_cpos = base_cpos + i; break; @@ -1020,18 +1021,19 @@ int ocfs2_ioctl_move_extents(struct file *filp, void __user *argp) context->range = ⦥ + /* + * ok, the default theshold for the defragmentation + * is 1M, since our maximum clustersize was 1M also. + * any thought? + */ + if (!range.me_threshold) + range.me_threshold = 1024 * 1024; + + if (range.me_threshold > i_size_read(inode)) + range.me_threshold = i_size_read(inode); + if (range.me_flags & OCFS2_MOVE_EXT_FL_AUTO_DEFRAG) { context->auto_defrag = 1; - /* -...
2023 Feb 17
1
[PATCH] ocfs2: fix non-auto defrag path not working issue
...+ i -= move_len; *goal_bit = i; *phys_cpos = base_cpos + i; break; @@ -1020,18 +1021,19 @@ int ocfs2_ioctl_move_extents(struct file *filp, void __user *argp) context->range = ⦥ + /* + * ok, the default theshold for the defragmentation + * is 1M, since our maximum clustersize was 1M also. + * any thought? + */ + if (!range.me_threshold) + range.me_threshold = 1024 * 1024; + + if (range.me_threshold > i_size_read(inode)) + range.me_threshold = i_size_read(inode); + if (range.me_flags & OCFS2_MOVE_EXT_FL_AUTO_DEFRAG) { context->auto_defrag = 1; - /* -...
2016 Nov 30
0
[PATCH] v2v: -o vdsm, -o rhev: Don't create compat=0.10 images;
...v2v-supplied compat option, because RHEL 6 - * nodes cannot handle qcow2 v3 (RHBZ#1145582). - *) - let compat = if format <> "qcow2" then compat else Some "0.10" in g#disk_create ?backingfile ?backingformat ?preallocation ?compat ?clustersize path format size; (* Make it sufficiently writable so that possibly root, or diff --git a/v2v/output_vdsm.ml b/v2v/output_vdsm.ml index 7cd94c0..92ce5c0 100644 --- a/v2v/output_vdsm.ml +++ b/v2v/output_vdsm.ml @@ -145,16 +145,6 @@ object (* Return the list of targets. *) targets...
2001 Oct 03
1
package GeneSOM ?
Hello Rprofessionals, The SOM-Obj works very well, when i normalize my data and the plot-function, too ! But i miss or didn't find the possibility , extract the information from the SOMplot "clusterSize" and "mean" for every cluster as quantitative information ( i.e. the DataFrame with an additional column which define the calculate clusters from SOM)? My intention - compare calculate SOM results with other unsupervised classification results ! P.S. How i have got qerror to inte...
2009 May 07
1
df & du - that old chestnut
...8_oracle_bkup0 250G 198G 53G 79% /data/orabackup While a du -sh shows that 62G is used I read Sunil Mushran's article on the reported differences between df & du and that sort of makes sense (maybe I'm missing something). The filesystem was created with a Blocksize and Clustersize of 4Kb and is mounted with the following parameters: /dev/mapper/eva_mpio_myserver07_08_oracle_bkup0 /data/orabackup ocfs2 _netdev,nointr,defaults 0 0 We have a RMAN retention policy of 3 days so backups older than that do get deleted. As a test I did a df & du of this fil...
2007 Feb 21
1
Performance Problems while reading
...it will be written on the other node is very slow. Reading a file on node while it will be written on the same node is fast. In the first case the node which wants to read the file has to ask the other to downgrade the locklevel. In my opinion this is a bottleneck, if the files are big. Increasing clustersize did not really help. Is there a away to speed up the read of such a file? Is it possible to open files for reading in nolock mode (NL) instead of (PR)? Thanks for your response, Egon
2014 Jan 28
11
[PATCH 00/10] New API: disk-create for creating blank disks.
A lot of code runs 'qemu-img create' or 'truncate' to create blank disk images. In the past I resisted adding an API to do this, since it essentially duplicates what you can already do using other tools (ie. qemu-img). However this does simplify calling code quite a lot since qemu-img is somewhat error-prone to use (eg: don't try to create a disk called "foo:bar")
2007 Jul 17
0
Bug in PDF device when using transparent graphics
Hello, I think I found a bug when creating graphics on a PDF device using transparency. I'm using ggplots2 like this: comp <- ggplot(data, aes(x=Problemsize, y=Fitness)) + geom_smooth(fill=alpha("blue", 0.2), aes(colour=factor(Clustersize)), size=2) Which gives me a curve for each "Clustersize" with a transparent blue "cloud" around it, indication the standard deviation. Of course, using windows you cannot see this transparent cloud, but when opening a pdf containing the plot in Adobe Acrobat all is displayed pr...
2020 Feb 06
3
[PATCH] lib: Autodetect backing format and specify it explicitly.
...disk_create_qcow2 (guestfs_h *g, const char *filename, int64_t size, const struct guestfs_disk_create_argv *optargs) { const char *backingformat = NULL; + CLEANUP_FREE char *backingformat_free = NULL; const char *preallocation = NULL; const char *compat = NULL; int clustersize = -1; @@ -302,6 +303,18 @@ disk_create_qcow2 (guestfs_h *g, const char *filename, int64_t size, } } + /* With libvirt >= 6.0 the backing format must be specified. */ + if (backingfile != NULL && backingformat == NULL) { + backingformat = backingformat_free = guestfs_disk_f...
2015 Oct 21
2
[PATCH] v2v: use open_guestfs everywhere
...stfs ())#get_cachedir () in let t = Mkdtemp.temp_dir ~base_dir "null." "" in rmdir_on_exit t; t in diff --git a/v2v/output_rhev.ml b/v2v/output_rhev.ml index 4b46f83..2878e13 100644 --- a/v2v/output_rhev.ml +++ b/v2v/output_rhev.ml @@ -262,7 +262,7 @@ object ?clustersize path format size = Changeuid.func changeuid_t ( fun () -> - let g = new Guestfs.guestfs () in + let g = open_guestfs () in g#set_identifier "rhev_disk_create"; (* For qcow2, override v2v-supplied compat option, because RHEL 6 * node...
2023 Feb 20
1
[PATCH v2] ocfs2: fix non-auto defrag path not working issue
...*phys_cpos = base_cpos + i; > break; > @@ -1020,18 +1021,19 @@ int ocfs2_ioctl_move_extents(struct file *filp, void __user *argp) > > context->range = &range; > > + /* > + * ok, the default theshold for the defragmentation > + * is 1M, since our maximum clustersize was 1M also. > + * any thought? > + */ > + if (!range.me_threshold) > + range.me_threshold = 1024 * 1024; > + > + if (range.me_threshold > i_size_read(inode)) > + range.me_threshold = i_size_read(inode); > + > if (range.me_flags & OCFS2_MOVE_EXT_FL_AUTO_DEFRA...
2015 Nov 10
0
[PATCH 4/4] mllib, v2v: Allow open_guestfs to set the handle identifier.
...Guestfs.guestfs (** Common function to create a new Guestfs handle, with common options (e.g. debug, tracing) already set. *) diff --git a/v2v/output_rhev.ml b/v2v/output_rhev.ml index 2878e13..2b8d989 100644 --- a/v2v/output_rhev.ml +++ b/v2v/output_rhev.ml @@ -262,8 +262,7 @@ object ?clustersize path format size = Changeuid.func changeuid_t ( fun () -> - let g = open_guestfs () in - g#set_identifier "rhev_disk_create"; + let g = open_guestfs ~identifier:"rhev_disk_create" () in (* For qcow2, override v2v-supplied compat optio...
2016 Dec 01
1
[PATCH v2] v2v: -o vdsm: Add --vdsm-compat-11 flag, -o rhev: Drop support for RHV < 4.1 (RHBZ#1400205).
...v2v-supplied compat option, because RHEL 6 - * nodes cannot handle qcow2 v3 (RHBZ#1145582). - *) - let compat = if format <> "qcow2" then compat else Some "0.10" in g#disk_create ?backingfile ?backingformat ?preallocation ?compat ?clustersize path format size; (* Make it sufficiently writable so that possibly root, or diff --git a/v2v/output_vdsm.ml b/v2v/output_vdsm.ml index 7cd94c0..fbddee8 100644 --- a/v2v/output_vdsm.ml +++ b/v2v/output_vdsm.ml @@ -30,6 +30,7 @@ type vdsm_params = { vol_uuids : string list; vm_uuid :...
2023 Feb 28
0
[merged mm-hotfixes-stable] ocfs2-fix-non-auto-defrag-path-not-working-issue.patch removed from -mm tree
...t_free_bits == move_len) { + i -= move_len; *goal_bit = i; *phys_cpos = base_cpos + i; break; @@ -1020,18 +1021,19 @@ int ocfs2_ioctl_move_extents(struct file context->range = &range; + /* + * ok, the default theshold for the defragmentation + * is 1M, since our maximum clustersize was 1M also. + * any thought? + */ + if (!range.me_threshold) + range.me_threshold = 1024 * 1024; + + if (range.me_threshold > i_size_read(inode)) + range.me_threshold = i_size_read(inode); + if (range.me_flags & OCFS2_MOVE_EXT_FL_AUTO_DEFRAG) { context->auto_defrag = 1; - /* -...
2016 Dec 07
0
[PATCH v3] v2v: -o vdsm: Add --vdsm-compat flag. -o rhev: Drop support for RHV < 4.1 (RHBZ#1400205).
...v2v-supplied compat option, because RHEL 6 - * nodes cannot handle qcow2 v3 (RHBZ#1145582). - *) - let compat = if format <> "qcow2" then compat else Some "0.10" in g#disk_create ?backingfile ?backingformat ?preallocation ?compat ?clustersize path format size; (* Make it sufficiently writable so that possibly root, or diff --git a/v2v/output_vdsm.ml b/v2v/output_vdsm.ml index 7cd94c0..6771daf 100644 --- a/v2v/output_vdsm.ml +++ b/v2v/output_vdsm.ml @@ -30,6 +30,7 @@ type vdsm_params = { vol_uuids : string list; vm_uuid :...
2023 Mar 06
0
Patch "ocfs2: fix non-auto defrag path not working issue" has been added to the 6.2-stable tree
...t_free_bits == move_len) { + i -= move_len; *goal_bit = i; *phys_cpos = base_cpos + i; break; @@ -1020,18 +1021,19 @@ int ocfs2_ioctl_move_extents(struct file context->range = &range; + /* + * ok, the default theshold for the defragmentation + * is 1M, since our maximum clustersize was 1M also. + * any thought? + */ + if (!range.me_threshold) + range.me_threshold = 1024 * 1024; + + if (range.me_threshold > i_size_read(inode)) + range.me_threshold = i_size_read(inode); + if (range.me_flags & OCFS2_MOVE_EXT_FL_AUTO_DEFRAG) { context->auto_defrag = 1; - /* -...