Mohit,
(unfortunately, it looks like I can answer emails only once a week:( )
On Mon, Dec 10, 2012 at 3:36 PM, Mohit Bhadade mohitbhad...@gmail.com wrote:
Hi,
I started traversing the code and have some doubts in the
btrfs_compare_trees function.
1. Can you please explain the
Sylvain Alain wrote (ao):
gentootux ~ # mount /dev/sda4 -o
noatime,ssd,discard,compress=lzo,noacl,space_cache,subvolid=0
^^^
Instead of 3 secondes to run the snapshot, it took almost 4 minutes.
Let me repeat the answer cwillu gave to Russell on this, and Russell's
response:
On Mon, 17 Dec 2012, Sander san...@humilis.net wrote:
Let me repeat the answer cwillu gave to Russell on this, and Russell's
response:
Also tests did indicate a performance benefit on snapshots when I stopped using
discard. It was as much as 15 seconds to create a snapshot and now it's
Hello,
This patch set is trying to make Btrfs support get/set label for a mounted file
sytem via ioctl(2).
There are a couple of changes according to Miao's comments which were shown as
following.
Changes of V5-V4 in kernel:
- Revise the ioctl number of
Introduce a new ioctl BTRFS_IOC_SET_FSLABEL to change the label of a mounted
file system.
Signed-off-by: Jie Liu jeff@oracle.com
Signed-off-by: Anand Jain anand.j...@oracle.com
Cc: Miao Xie mi...@cn.fujitsu.com
---
fs/btrfs/ioctl.c | 40
Introduce a new ioctl BTRFS_IOC_GET_FSLABEL to fetch the label of a mounted
file system.
Signed-off-by: Jie Liu jeff@oracle.com
Signed-off-by: Anand Jain anand.j...@oracle.com
Cc: Miao Xie mi...@cn.fujitsu.com
---
fs/btrfs/ioctl.c | 15 +++
fs/btrfs/ioctl.h |2 ++
2 files
With this new ioctl(2), we can get the label for a mounted file system.
It still does normal process to fetch label if the specified file system is
unmounted.
Signed-off-by: Jie Liu jeff@oracle.com
Signed-off-by: Anand Jain anand.j...@oracle.com
---
btrfslabel.c | 74
With this new ioctl(2), we can set/change the label for a mounted file system.
It still does normal process for an umounted file system.
Signed-off-by: Jie Liu jeff@oracle.com
Signed-off-by: Anand Jain anand.j...@oracle.com
---
btrfslabel.c | 90
Currently, we keeping silent if the label length is exceeding BTRFS_LABEL_SIZE
- 1, and just
truncating the characters beyond that.
This patch make it return error and exit in this situation.
Signed-off-by: Jie Liu jeff@oracle.com
Signed-off-by: Anand Jain anand.j...@oracle.com
---
Fix the command usage of btrfs filesystem label to reflect this change. i.e.
so that
we can get/set the label of a mounted filesystem against the mountpoint.
Signed-off-by: Jie Liu jeff@oracle.com
Signed-off-by: Anand Jain anand.j...@oracle.com
---
cmds-filesystem.c |4 ++--
1 file
On mon, 17 Dec 2012 19:22:11 +0800, Jeff Liu wrote:
Introduce a new ioctl BTRFS_IOC_SET_FSLABEL to change the label of a mounted
file system.
Signed-off-by: Jie Liu jeff@oracle.com
Signed-off-by: Anand Jain anand.j...@oracle.com
Cc: Miao Xie mi...@cn.fujitsu.com
---
On mon, 17 Dec 2012 19:22:02 +0800, Jeff Liu wrote:
Introduce a new ioctl BTRFS_IOC_GET_FSLABEL to fetch the label of a mounted
file system.
Signed-off-by: Jie Liu jeff@oracle.com
Signed-off-by: Anand Jain anand.j...@oracle.com
Cc: Miao Xie mi...@cn.fujitsu.com
Reviewed-by: Miao
Hello everyone,
my name is Martin Krizek. I am a student at Faculty of Information, Brno
University of Technology, Czech Republic. As my master's thesis I chose to work
on Online Deduplication for Btrfs.
My goal is to study Btrfs design, the offline deduplication patch [1] and to
come up with a
Sorry,the email is incomplete.
As mentioned above, I am a C developer and really interested in file
systems, and the Fedora community redirected me to BTRFS. I would
really love to contribute to btrfs.
Please let me know how I can proceed further, and what are the
potential areas I can work in.
On Mon, Dec 17, 2012 at 05:39:45PM +0530, Atri Sharma wrote:
Sorry,the email is incomplete.
As mentioned above, I am a C developer and really interested in file
systems, and the Fedora community redirected me to BTRFS. I would
really love to contribute to btrfs.
Please let me know how I
On Mon, Dec 17, 2012 at 6:08 PM, Hugo Mills h...@carfax.org.uk wrote:
On Mon, Dec 17, 2012 at 05:39:45PM +0530, Atri Sharma wrote:
Sorry,the email is incomplete.
As mentioned above, I am a C developer and really interested in file
systems, and the Fedora community redirected me to BTRFS. I
On Mon, Dec 17, 2012 at 6:23 PM, Atri Sharma atri.j...@gmail.com wrote:
On Mon, Dec 17, 2012 at 6:08 PM, Hugo Mills h...@carfax.org.uk wrote:
On Mon, Dec 17, 2012 at 05:39:45PM +0530, Atri Sharma wrote:
Sorry,the email is incomplete.
As mentioned above, I am a C developer and really
On Monday 17 of December 2012 13:05:01 Martin Křížek wrote:
* Limitations
Not really limitations, but this is a list of situations when dedup will
not be triggered:
- compression - basically, dedup is kind of compression, might be worth to
into it in the future though
I don't see why it
On 12/17/2012 07:57 PM, Miao Xie wrote:
Onmon, 17 Dec 2012 19:22:11 +0800, Jeff Liu wrote:
Introduce a new ioctl BTRFS_IOC_SET_FSLABEL to change the label of a mounted
file system.
Signed-off-by: Jie Liu jeff@oracle.com
Signed-off-by: Anand Jain anand.j...@oracle.com
Cc: Miao Xie
Hello,
I'm testing Btrfs RAID1 feature on 3 disks of ~10GB. Last one is not
exactly 10GB (would be too easy).
About the test machine, it's a kvm vm running an up-to-date archlinux
with linux 3.7 and btrfs-progs 0.19.20121005.
#uname -a
Linux seblu-btrfs-1 3.7.0-1-ARCH #1 SMP PREEMPT Tue Dec 11
Hello Sebastien,
with btrfs raid1 you get two copies of each extent on separate drives.
That means you can lose one drive only, no matter how many drives are
in the set. It's not traditional raid1, which is probably what you are
confusing it with. Having raid1 with more than 2n-redudancy is not
On Mon, Dec 17, 2012 at 04:51:33PM +0100, Sebastien Luttringer wrote:
Hello,
I'm testing Btrfs RAID1 feature on 3 disks of ~10GB. Last one is not
exactly 10GB (would be too easy).
About the test machine, it's a kvm vm running an up-to-date archlinux
with linux 3.7 and btrfs-progs
Hi everyone,
My for-linus branch has a big set of fixes and features:
git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus
This was against 3.7, and it has two easy conflicts against Linus'
current head. My -next branch has the resolutions, but Linus wills
surely fix
[ sorry, resend. My lbdb autocompleted with an extra r in kernel.org ]
Hi everyone,
My for-linus branch has a big set of fixes and features:
git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus
This was against 3.7, and it has two easy conflicts against Linus'
current
I was flipping through the code recently and noticed that we still have
the double whammy of allocating dir entry positions with
parent_dir-counter++ and that weird setting of f_pos to 2^31-1.
So after enough creates (and deletes :)) in a directory we end up with
an entry item whose key is past
On Mon, Dec 17, 2012 at 04:09:07PM -0700, Zach Brown wrote:
I was flipping through the code recently and noticed that we still have
the double whammy of allocating dir entry positions with
parent_dir-counter++ and that weird setting of f_pos to 2^31-1.
So after enough creates (and deletes
On Mon, Dec 17, 2012 at 06:28:40PM -0500, Chris Mason wrote:
On Mon, Dec 17, 2012 at 04:09:07PM -0700, Zach Brown wrote:
1) The fundamental fix is to re-use deleted entry positions. Do we add
another cache to index unlinked positions? Do we add an unreliable
best-effort walk of the tree
On Mon, Dec 17, 2012 at 04:50:39PM -0700, Zach Brown wrote:
On Mon, Dec 17, 2012 at 06:28:40PM -0500, Chris Mason wrote:
On Mon, Dec 17, 2012 at 04:09:07PM -0700, Zach Brown wrote:
1) The fundamental fix is to re-use deleted entry positions. Do we add
another cache to index unlinked
On Mon, Dec 17, 2012 at 06:33:24AM -0700, Alexander Block wrote:
I did some research on deduplication in the past and there are some
problems that you will face. I'll try to list some of them (for sure
not all).
Thanks Alexander for writing all of this up. There are a lot of great
points
On 12/18/2012 01:34 AM, Goffredo Baroncelli wrote:
On 12/17/2012 02:30 PM, Jeff Liu wrote:
On 12/17/2012 07:57 PM, Miao Xie wrote:
On mon, 17 Dec 2012 19:22:11 +0800, Jeff Liu wrote:
Introduce a new ioctl BTRFS_IOC_SET_FSLABEL to change the label of a
mounted file system.
Signed-off-by:
On mon, 17 Dec 2012 18:34:41 +0100, Goffredo Baroncelli wrote:
On 12/17/2012 02:30 PM, Jeff Liu wrote:
On 12/17/2012 07:57 PM, Miao Xie wrote:
On mon, 17 Dec 2012 19:22:11 +0800, Jeff Liu wrote:
Introduce a new ioctl BTRFS_IOC_SET_FSLABEL to change the label of a
mounted file system.
On 12/18/2012 10:21 AM, Miao Xie wrote:
Onmon, 17 Dec 2012 18:34:41 +0100, Goffredo Baroncelli wrote:
On 12/17/2012 02:30 PM, Jeff Liu wrote:
On 12/17/2012 07:57 PM, Miao Xie wrote:
On mon, 17 Dec 2012 19:22:11 +0800, Jeff Liu wrote:
Introduce a new ioctl BTRFS_IOC_SET_FSLABEL to
On 12/18/2012 10:33 AM, Jeff Liu wrote:
On 12/18/2012 10:21 AM, Miao Xie wrote:
On mon, 17 Dec 2012 18:34:41 +0100, Goffredo Baroncelli wrote:
On 12/17/2012 02:30 PM, Jeff Liu wrote:
On 12/17/2012 07:57 PM, Miao Xie wrote:
Onmon, 17 Dec 2012 19:22:11 +0800, Jeff Liu wrote:
Hello,
Here is quick fix for btrfs set lable ioctl(2) based on v5, it does label
length check up with
strnlen() to avoid searching a zero could go beyond the page limit touching an
un-mapped page
and raising an segmentation fault with strlen().
V6-v5:
- Improve the input label string
Introduce a new ioctl BTRFS_IOC_GET_FSLABEL to fetch the label of a mounted
file system.
Signed-off-by: Jie Liu jeff@oracle.com
Signed-off-by: Anand Jain anand.j...@oracle.com
Reviewed-by: Miao Xie mi...@cn.fujitsu.com
---
fs/btrfs/ioctl.c | 15 +++
fs/btrfs/ioctl.h |2 ++
Introduce a new ioctl BTRFS_IOC_SET_FSLABEL to change the label of a mounted
file system.
Signed-off-by: Jie Liu jeff@oracle.com
Signed-off-by: Anand Jain anand.j...@oracle.com
Cc: Miao Xie mi...@cn.fujitsu.com
Cc: Goffredo Baroncelli kreij...@inwind.it
---
fs/btrfs/ioctl.c | 39
This looks like a useful capability. I was trying to find out
what the UUID was for a newly created subvolume and have not
found out how to do that.
btrfs subvol list -u /mnt
should help ?
btrfs subvol show subvol is quite useful indeed we should
consider to have it in git.
-Anand
On
On Tue, 18 Dec 2012 11:06:07 +0800, Jeff Liu wrote:
Introduce a new ioctl BTRFS_IOC_SET_FSLABEL to change the label of a mounted
file system.
Signed-off-by: Jie Liu jeff@oracle.com
Signed-off-by: Anand Jain anand.j...@oracle.com
Cc: Miao Xie mi...@cn.fujitsu.com
Cc: Goffredo
From: Wade Cline cli...@linux.vnet.ibm.com
This patch is only an RFC. My internship is ending and I was hoping
to get some feedback and incorporate any suggestions people may
have before my internship ends along with life as we know it (this
Friday).
The filesystem should mount/umount properly
From: Wade Cline cli...@linux.vnet.ibm.com
v1 - v2:
- Added Signed-off-by tag (it's kind of important).
This patch is only an RFC. My internship is ending and I was hoping
to get some feedback and incorporate any suggestions people may
have before my internship ends along with life as we know it
On Mon, Dec 17, 2012 at 11:13:25PM -0800, cli...@linux.vnet.ibm.com wrote:
From: Wade Cline cli...@linux.vnet.ibm.com
v1 - v2:
- Added Signed-off-by tag (it's kind of important).
This patch is only an RFC. My internship is ending and I was hoping
to get some feedback and incorporate any
41 matches
Mail list logo