Displaying 20 results from an estimated 25 matches for "fiemap".
Did you mean:
filemap
2013 Aug 07
1
FIEMAP problem
Hi,
We are trying to use OCFS2 as VM storage. After running into problems with
qemu's disk_mirror feature we now think there could be a problem with the
FIEMAP ioctl in OCFS2.
As far as I understand the situation looks like this:
Qemu inquiries the FS if the given section of the image is already allocated
via the FIEMAP ioctl [1]
It especially checks if fm_mapped_extents is greater 0.
OCFS2 reports on sections bigger 1048576 there would be 0 mapped_exte...
2013 Feb 20
0
[RFC PATCH 1/3] fiemap: Introduce FIEMAP_FLAG_COW flag to map shared extents
Introduce a new flag FIEMAP_FLAG_COW to fiemap ioctl(2) interface.
If this flag is set, the kernel will only return the mapped extents
which are in copy-on-write state.
Signed-off-by: Jie Liu <jeff.liu at oracle.com>
Cc: Alexander Viro <viro at zeniv.linux.org.uk>
Cc: Andreas Dilger <adilger at dilger.ca>...
2012 May 08
4
[Bug 8918] New: Use fiemap to quickly detect zero ranges of source file
https://bugzilla.samba.org/show_bug.cgi?id=8918
Summary: Use fiemap to quickly detect zero ranges of source
file
Product: rsync
Version: 3.1.0
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P5
Component: core
AssignedTo: wayned at...
2011 Nov 17
0
[PATCH] Btrfs: sectorsize align offsets in fiemap
We''ve been hitting BUG()''s in btrfs_cont_expand and btrfs_fallocate and anywhere
else that calls btrfs_get_extent while running xfstests 13 in a loop. This is
because fiemap is calling btrfs_get_extent with non-sectorsize aligned offsets,
which will end up adding mappings that are not sectorsize aligned, which will
cause problems in some cases for subsequent calls to btrfs_get_extent for
similar areas that are sectorsize aligned. With this patch I ran xfstests 13 in
a...
2010 Oct 20
1
minimize mbox mdbox fragmentation
...s, trying to tweak
XFS mount options to mitigate the fragmentation effects. Alas, there is
no way to do this purely at the filesystem level. From Dave Chinner,
one of the lead XFS devs:
"What you want is _physical_ preallocation, not speculative
preallocation. i.e. look up XFS_IOC_RESVSP or FIEMAP so your
application does _permanent_ preallocate past EOF. Alternatively, the
filesystem will avoid the truncation on close() if the file has the
APPEND attribute set and the application is writing via O_APPEND...
The filesystem cannot do everything for you. Sometimes the
application has to help.....
2010 Mar 10
1
Finding the holes in sparse files.
Is there a way to find the holes in sparse files, other than assuming
contiguous blocks of zeroes are holes?
Thanks,
Sean
2010 Jun 16
3
Pre48 - syslxcom compile errors
I just downloaded the pre48 and ran make.
It ran fine for everything, but ended with a number of errors related to the
syslxcom program. Usually, I only see the messages about the windows
build since I am doing the make on a Fedora 10 system.
Is there something new that has been added that requires something that I
am missing? From looking at the program this isn't related to the isolinux
2016 Oct 01
5
[Bug 12305] New: --fallocate and --sparse works wrong
https://bugzilla.samba.org/show_bug.cgi?id=12305
Bug ID: 12305
Summary: --fallocate and --sparse works wrong
Product: rsync
Version: 3.1.1
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: core
Assignee: wayned at samba.org
Reporter:
2013 Aug 24
4
check for reflink capability and for shared data
Hi,
how can I do the following in a shell script:
- check whether my file system supports cp --reflink?
- check whether two files share the same data on disk, i.e. one has been
created by cp --reflink of the other?
Thank you!
Thomas Koch
--
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
2012 Aug 21
5
[PATCH 1/2 v1] blkdrv: Add queue limits parameters for sg block drive
...eletions(-)
diff --git a/block/raw-posix.c b/block/raw-posix.c
index 0dce089..a086f89 100644
--- a/block/raw-posix.c
+++ b/block/raw-posix.c
@@ -53,6 +53,7 @@
#include <linux/cdrom.h>
#include <linux/fd.h>
#include <linux/fs.h>
+#include <dirent.h>
#endif
#ifdef CONFIG_FIEMAP
#include <linux/fiemap.h>
@@ -829,6 +830,62 @@ static int hdev_probe_device(const char *filename)
return 0;
}
+static void read_queue_limit(char *path, const char *filename, unsigned int *val)
+{
+ FILE *f;
+ char *tail = path + strlen(path);
+
+ pstrcat(path, MAXPATHLEN, fi...
2012 Aug 21
5
[PATCH 1/2 v1] blkdrv: Add queue limits parameters for sg block drive
...eletions(-)
diff --git a/block/raw-posix.c b/block/raw-posix.c
index 0dce089..a086f89 100644
--- a/block/raw-posix.c
+++ b/block/raw-posix.c
@@ -53,6 +53,7 @@
#include <linux/cdrom.h>
#include <linux/fd.h>
#include <linux/fs.h>
+#include <dirent.h>
#endif
#ifdef CONFIG_FIEMAP
#include <linux/fiemap.h>
@@ -829,6 +830,62 @@ static int hdev_probe_device(const char *filename)
return 0;
}
+static void read_queue_limit(char *path, const char *filename, unsigned int *val)
+{
+ FILE *f;
+ char *tail = path + strlen(path);
+
+ pstrcat(path, MAXPATHLEN, fi...
2013 Jan 31
3
/home on BTRFS on SSD, now highly fragmenting virtuoso database - use autodefrag?
Hi!
Today I converted my /home from Ext4 to BTRFS by reformatting and copying
all over again.
I created the filesystem with -l 16384 -n 16384 -d single -m single on an
logical volume Intel SSD 320 and mount with compress=lzo,spacecache. Current state:
merkaba:~> btrfs filesystem show
failed to read /dev/sr0
Label: ''home'' uuid: […]
Total devices 1 FS bytes used
2012 Aug 02
0
[PATCH 1/3] ALPHA: make sector size dynamic in extlinux
.....95a7110 100644
--- a/libinstaller/syslxcom.c
+++ b/libinstaller/syslxcom.c
@@ -45,8 +45,6 @@ int fs_type;
# define dprintf(...) ((void)0)
#endif
-#define SECTOR_SHIFT 9
-
static void die(const char *msg)
{
fputs(msg, stderr);
@@ -176,7 +174,7 @@ void set_attributes(int fd)
}
/* New FIEMAP based mapping */
-static int sectmap_fie(int fd, sector_t *sectors, int nsectors)
+static int sectmap_fie(int fd, sector_t *sectors, int nsectors, unsigned sector_size)
{
struct fiemap *fm;
struct fiemap_extent *fe;
@@ -193,7 +191,7 @@ static int sectmap_fie(int fd, sector_t *sectors, in...
2010 Nov 05
0
Finding Fragmentation on a Btrfs Volume
I was Googling around for ways to check fragmentation on Btrfs, and I
came across the ''filefrag'' command.
Even though it is a ext2/3 command, it seems to work on Btrfs files
since it uses the FIEMAP ioctl to determine the number of extents.
From a bash prompt, I found I could examine large sections with something like:
# for file in $(find <PATH/TO/BTRFS/VOL/> -type f); do filefrag
${file}; done | sort -n -k 2 | less
You may want to start with smaller, more discrete portions of a Btrf...
2010 Nov 29
0
[GIT PULL] Btrfs updates for 2.6.37-rc
...cate (+4/-0)
Btrfs: use dget_parent where we can UPDATED (+43/-12)
Btrfs: handle the space_cache option properly (+1/-0)
Btrfs: update inode ctime when using links (+1/-0)
Btrfs: fix more ESTALE problems with NFS (+1/-0)
Btrfs: handle NFS lookups properly (+76/-0)
Btrfs: fix fiemap (+54/-9)
Chris Mason (4) commits (+124/-9):
Btrfs: deal with DIO bios that span more than one ordered extent (+89/-4)
Btrfs: avoid NULL pointer deref in try_release_extent_buffer (+4/-2)
Btrfs: don''t use migrate page without CONFIG_MIGRATION (+6/-1)
Btrfs: add migrate page...
2013 Dec 11
1
Making --inplace and --sparse compatible
It seems to me that it should be possible to make --inplace and
--sparse compatible.
The manpage says
-S, --sparse
... Conflicts with --inplace because it's not
possible to overwrite data in a sparse fashion.
but I think it _is_ possible to do that, provided the receiving
side opens the dest file read-write instead of write-only.
When writing within the existing
2011 Jan 06
3
Offline Deduplication for Btrfs V2
Just a quick update, I''ve dropped the hashing stuff in favor of doing a memcmp
in the kernel to make sure the data is still the same. The thing that takes a
while is reading the data up from disk, so doing a memcmp of the entire buffer
isn''t that big of a deal, not to mention there''s a possiblity for malicious
users if there is a problem with the hashing algorithms we
2009 Sep 02
0
[rhelv5-list] Red Hat Enterprise Linux 5.4 GA Announcement
...ttp://www.redhat.com/rhel/server/resource_center/
The following list summarizes improvements to this
release:
* Hardware
- 10 GigE drivers with GRO support
- FCoE support on standard NICs
- SR I/OV support
* System
- Kernel tracepoints for systemtap use
- Per process I/O accounting
- FIEMAP support
* Virtualization
- Hypervisor scalability to 192 cpus
- Additional hypervisor - Kernel Based Virtual Machine
(KVM)
Additional Information
----------------------
Additional information is provided below on Accessing the
Software, Documentation, Support, and Mailing Lists.
Enjoy...
2014 Nov 23
7
[PATCH 0/3] patches needed for virt-bmap
See http://rwmj.wordpress.com/2014/11/23/mapping-files-to-disk/
2014 May 16
2
[LLVMdev] [llvmlinux] [LLVMLinux] Regression: rev 208833/208834 break linux kernel build in ASM handling
...86 "/src/linux/include/linux" "list_lru.h"
> .file 87 "/src/linux/include/uapi/linux" "time.h"
> .file 88 "/src/linux/include/linux" "stat.h"
> .file 89 "/src/linux/include/uapi/linux" "fiemap.h"
> .file 90 "/src/linux/include/linux" "cdev.h"
> .file 91 "/src/linux/include/linux" "migrate_mode.h"
> .file 92 "/src/linux/include/linux" "swap.h"
> .file 93 "/src/linux/ar...