Displaying 20 results from an estimated 200 matches similar to: "[PATCH] E2fsprogs: add missing usage for No_COW"
2012 Jun 13
1
[PATCH v2] E2fsprogs: add missing usage for No_COW
Add the missing usage for No_COW since we''ve supported No_COW flag.
Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
---
v1->v2: sort options alphabetically, thanks to Roman Mamedov.
misc/chattr.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/misc/chattr.c b/misc/chattr.c
index 141ea6e..24254cc 100644
--- a/misc/chattr.c
+++ b/misc/chattr.c
@@ -83,7
2013 Jun 07
2
How do I safely terminate COW on pre-existing files?
I want to eliminate the COW feature on all of my OS files. It is a nice
feature for user files, but I don''t see a clear benefit for the actual
OS files. And I suspect that COW induced fragmentation is causing or
aggravating problems with my system including the boot open_ctree
problem. I had planned to recursively chattr these files to "nodatacow"
status but then I ran
2023 Feb 14
1
Issue with downloading files whose path contains multi-byte utf-8 characters
On Tue, Feb 14, 2023 at 08:02:59PM +0200, Yonatan Shtarkman wrote:
> The attached code snippet?reproduces the issue when running:
> python3 libugestfs_segfault_repro.py
>
> With:
> guestfs version: 1.48.6
> guestfs-python version: 1.48.6
Can confirm with {python3-,}libguestfs-1.51.1-1.fc39.x86_64
The stack trace is roughly the same as yours.
Rich.
> Stacktrace:
> #0
2024 Feb 20
1
Compiling libR as a standalone C library for java+jni (-fPIC)
(cross-posted on SO: https://stackoverflow.com/questions/78022766)
Hi all,
I'm trying to compile R as a static library with the -fPIC flag so I can use it within java+JNI (is it only possible ?), but I cannot find the right flags in '.configure' to compile R this way.
I tested various flags but I cannot find the correct syntax.
for now, my latest attempt was
```
rm -rvf?
2012 Feb 16
3
[PATCH 1/4] Btrfs: be less strict on finding next node in clear_extent_bit
In clear_extent_bit, it is enough that next node is adjacent in tree level.
Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
---
fs/btrfs/extent_io.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c
index fcf77e1..e941cc4 100644
--- a/fs/btrfs/extent_io.c
+++ b/fs/btrfs/extent_io.c
@@ -577,8 +577,7 @@ hit_next:
if
2007 Jan 31
5
The equivalent of Ghosting the system
If I were to lose my main hard drive, I would like to have the
opportunity to do the same as I can do using Windows: restore from my
USB and have a working system.
If I were to rsync everything on the main drive (excluding the backup
drive, of course and a few other directories) to my USB drive, could I
restore using some CD based version of Linux e.g. Knoppix?
Todd
--
Ariste Software
2200
2010 May 20
1
[PATCH 01/10] btrfs: add a return value for readahead_tree_block()
From: Liu Bo <liubo2009@cn.fujitsu.com>
Fix return value to get from read_extent_buffer_pages().
Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
---
fs/btrfs/disk-io.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 6632e5c..35916d5 100644
---
2012 Apr 03
3
[PATCH] Btrfs: do not mount when we have a sectorsize unequal to PAGE_SIZE
Our code is not ready to cope with a sectorsize that''s not equal to PAGE_SIZE.
It will lead to hanging-on while writing something.
Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
---
fs/btrfs/disk-io.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 20196f4..b9866f2 100644
--- a/fs/btrfs/disk-io.c
+++
2011 Jun 21
19
[GIT PULL v3] Btrfs: improve write ahead log with sub transaction
I''ve been working to try to improve the write-ahead log''s performance,
and I found that the bottleneck addresses in the checksum items,
especially when we want to make a random write on a large file, e.g a 4G file.
Then a idea for this suggested by Chris is to use sub transaction ids and just
to log the part of inode that had changed since either the last log commit or
the last
2010 Dec 01
2
[RFC PATCH 4/4 v2] Btrfs: deal with filesystem state at mount, umount
Since there is a filesystem state, we should deal with it carefully at mount,
umount and remount.
- At mount, the FS state should be checked if there is error on these FS.
If it does have, btrfsck is recommended.
- At umount, the FS state should be saved into disk for consistency.
Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
---
fs/btrfs/disk-io.c | 47
2015 Feb 16
4
[LLVMdev] Segfault when using llvm-3.6 and OpenGL at the same time on Linux (with mesa, which uses llvm-3.4)
Hello there,
tl;dr:
Is it a known behaviour that using llvm-3.4 and llvm-3.6 at the same time
in the same process (while llvm-3.6 is used from a linked shared library
and llvm-3.4 is dlopen'ed - with a strange detail: Especially if -rdynamic
is used when linking the program).
If so, is there a workaround?
If not, can it be fixed in llvm-3.6?
Long story:
I am writing a program that creates
2012 Jul 12
3
[PATCH v2] Btrfs: improve multi-thread buffer read
While testing with my buffer read fio jobs[1], I find that btrfs does not
perform well enough.
Here is a scenario in fio jobs:
We have 4 threads, "t1 t2 t3 t4", starting to buffer read a same file,
and all of them will race on add_to_page_cache_lru(), and if one thread
successfully puts its page into the page cache, it takes the responsibility
to read the page''s data.
And
2012 Jul 30
4
balance disables nodatacow
I have a 3 disk raid1 filesystem mounted with nodatacow. I have a
folder in said filesystem with the ''C'' NOCOW & ''Z'' Not_Compressed
flags set for good measure. I then copy in a large file and proceed to
make random modifications. Filefrag shows no additional extents
created, good so far. A big thank you to the those devs who got that
working.
However, after
2012 Jun 29
12
[PATCH 1/3] Btrfs-progs: add support to set subvolume/snapshot readonly
Setting subvolume/snapshot readonly has been missing for a long time.
With this patch, we can set a subvolume/snapshot readonly via:
o btrfs subvolume set-ro <path>
Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
---
cmds-subvolume.c | 40 ++++++++++++++++++++++++++++++++++++++++
ioctl.h | 7 +++++++
2 files changed, 47 insertions(+), 0 deletions(-)
diff --git
2012 Mar 25
3
attempt to access beyond end of device and livelock
Hi Dongyang, Yan,
When testing BTRFS with RAID 0 metadata on linux-3.3, we see discard
ranges exceeding the end of the block device [1], potentially causing
dataloss; when this occurs, filesystem writeback becomes catatonic due
to continual resubmission.
The reproducer is quite simple [2]. Hope this proves useful...
Thanks,
Daniel
--- [1]
attempt to access beyond end of device
ram0: rw=129,
2010 Feb 15
5
Hardisk cloning for centos-5.3
Hi,
I want to clone my hardisk containing the centos-5.3 OS and its swap
region on to new raw hardisk via network
either through ssh, tftp or ftp. How do i do that ?
Is there any Tool for that or will DD command be sufficient.I know that dd
command will have to be used on hardisk
with already existing partitions and not on raw disk.
Regards,
Premraj M
Disclaimer : This message is
2011 Feb 15
2
Building btrfs as a dkms module on Debian
Hi everyone. I was trying to test a more recent version of btrfs on my current kernel (2.6.37) using dkms, without success.
I followed these instructions:
https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories
- cloned the repo
- symlinked to /usr/src/btrfs-git
- patched version.sh:
Please note version.sh requires bash (better to change the shebang or fix the script).
Even with the
2012 Jul 10
6
[PATCH RFC] Btrfs: improve multi-thread buffer read
While testing with my buffer read fio jobs[1], I find that btrfs does not
perform well enough.
Here is a scenario in fio jobs:
We have 4 threads, "t1 t2 t3 t4", starting to buffer read a same file,
and all of them will race on add_to_page_cache_lru(), and if one thread
successfully puts its page into the page cache, it takes the responsibility
to read the page''s data.
And
2008 Sep 01
0
Feature request: preallocation of directories
Hi there,
One of the things that I've been doing for fun is to try to speed up
ext4's fsck time. As you can see here:
http://thunk.org/tytso/blog/2008/08/08/fast-ext4-fsck-times/
Fsck'ing an ext4 filesystem can be between 6-8 times after than the
equivalent file hierarchy on ext4. In order to speed it up further, the
main place to look is in pass #2, where the directory is
2012 Aug 01
17
[PATCH] add crtime to the snapshot list
From: Anand <anand.jain@oracle.com>
This patch adds creation-time to the snapshot list display,
which would help user to better manage the snapshots when
number of snapshots grow substantially. This patch is developed
and on top of the send/receive btrfs and btrfs-progs repo at
git://github.com/ablock84/linux-btrfs.git (send-v2)
git://github.com/ablock84/btrfs-progs.git (send-v2)