Displaying 9 results from an estimated 9 matches for "subvol_nam".
Did you mean:
subvol_name
2011 Apr 06
3
[PATCH V2] Btrfs: fix subvolume mount by name problem when default mount subvolume is set
...ar *options)
break;
case Opt_subvol:
case Opt_subvolid:
+ case Opt_subvolrootid:
case Opt_device:
/*
* These are parsed by btrfs_parse_early_options
@@ -385,7 +387,7 @@ out:
*/
static int btrfs_parse_early_options(const char *options, fmode_t flags,
void *holder, char **subvol_name, u64 *subvol_objectid,
- struct btrfs_fs_devices **fs_devices)
+ u64 *subvol_rootid, struct btrfs_fs_devices **fs_devices)
{
substring_t args[MAX_OPT_ARGS];
char *opts, *orig, *p;
@@ -426,6 +428,18 @@ static int btrfs_parse_early_options(const char *options, fmode_t flags,
*subvol_obj...
2011 Nov 09
6
[PATCH 0/5] Btrfs: mount error handling fixes
...es (memory leaks, NULL pointer dereferences and devices
hanging in busy state) to sanitize error handling during mount sequence.
This is on top of for-linus + slyfox''s double-free fix.
Thanks,
Ilya
Ilya Dryomov (5):
Btrfs: fix memory leak in btrfs_parse_early_options()
Btrfs: fix subvol_name leak on error in btrfs_mount()
Btrfs: avoid null dereference and leaks when bailing from
open_ctree()
Btrfs: close devices on all error paths in open_ctree()
Btrfs: rework error handling in btrfs_mount()
fs/btrfs/disk-io.c | 42 ++++++++++++++++++------------------------
fs/btrfs/sup...
2008 Aug 19
0
[PATCH] Reinstate '-osubvol=.' option to mount entire tree
...diff --git a/super.c b/super.c
index 55f4d00..f7b3eac 100644
--- a/super.c
+++ b/super.c
@@ -451,21 +451,25 @@ static int btrfs_get_sb(struct file_system_type *fs_type, int flags,
s->s_flags |= MS_ACTIVE;
}
- mutex_lock(&s->s_root->d_inode->i_mutex);
- root = lookup_one_len(subvol_name, s->s_root, strlen(subvol_name));
- mutex_unlock(&s->s_root->d_inode->i_mutex);
- if (IS_ERR(root)) {
- up_write(&s->s_umount);
- deactivate_super(s);
- error = PTR_ERR(root);
- goto error;
- }
- if (!root->d_inode) {
- dput(root);
- up_write(&s->s_umount);
-...
2008 Jun 10
1
[PATCH, RFC] btrfs: allow scanning multiple devices during mount
...y ignored here.
*/
break;
@@ -212,8 +214,9 @@ int btrfs_parse_options(struct btrfs_roo
* All other options will be parsed on much later in the mount process and
* only when we need to allocate a new super block.
*/
-static int btrfs_parse_early_options(const char *options,
- char **subvol_name)
+static int btrfs_parse_early_options(const char *options, int flags,
+ void *holder, char **subvol_name,
+ struct btrfs_fs_devices **fs_devices)
{
substring_t args[MAX_OPT_ARGS];
char *opts, *p;
@@ -240,11 +243,18 @@ static int btrfs_parse_early_options(con
case Opt_subvol:
*subvol...
2007 Aug 23
2
give me some works
hello, Chris
In the next several months, I will have a lot of spare time. I will
be happy if you assign some work to me. I have learn linux kernel
for years but only fix a few small bugs in IP stack. In the past few
months, I read some EXT4/VFS codes. I began reading source of btrfs
ten days ago and have read it twice now.
Regards
YZ
2018 Jan 14
0
Volume can not write to data if this volume quota limits capacity and mount itself volume on arm64(aarch64) architecture
...122053] [ec-common.c:116:ec_check_status] 0-test_vol-disperse-11: Operation failed on some subvolumes (up=7, mask=7, remaining=0, good=5, bad=2)
[2018-02-02 11:23:31.439301] I [MSGID: 109036] [dht-common.c:9082:dht_log_new_layout_for_dir_selfheal] 0-test_vol-dht: Setting layout of /.trashcan with [Subvol_name: test_vol-disperse-0, Err: -1 , Start: 2863311528 , Stop: 3221225468 , Hash: 1 ], [Subvol_name: test_vol-disperse-1, Err: -1 , Start: 3221225469 , Stop: 3579139409 , Hash: 1 ], [Subvol_name: test_vol-disperse-10, Err: -1 , Start: 3579139410 , Stop: 3937053350 , Hash: 1 ], [Subvol_name: test_vol-di...
2017 Sep 20
1
"Input/output error" on mkdir for PPC64 based client
.... Proceeding to FOP
[2017-09-20 13:34:23.354453] D [MSGID: 0]
[afr-lk-common.c:448:transaction_lk_op] 0-gv0-replicate-0: lk op is for a
transaction
[2017-09-20 13:34:23.354969] D [MSGID: 109036]
[dht-common.c:9527:dht_log_new_layout_for_dir_selfheal] 0-gv0-dht: Setting
layout of /tempdir3 with [Subvol_name: gv0-replicate-0, Err: -1 , Start: 0
, Stop: 4294967295 , Hash: 1 ],
[2017-09-20 13:34:23.355226] D [MSGID: 0]
[afr-transaction.c:1883:afr_post_nonblocking_inodelk_cbk]
0-gv0-replicate-0: Non blocking inodelks done. Proceeding to FOP
[2017-09-20 13:34:23.355714] D [MSGID: 0]
[afr-lk-common.c:4...
2017 Sep 20
0
"Input/output error" on mkdir for PPC64 based client
Looks like it is an issue with architecture compatibility in RPC layer (ie,
with XDRs and how it is used). Just glance the logs of the client process
where you saw the errors, which could give some hints. If you don't
understand the logs, share them, so we will try to look into it.
-Amar
On Wed, Sep 20, 2017 at 2:40 AM, Walter Deignan <WDeignan at uline.com> wrote:
> I recently
2017 Sep 19
3
"Input/output error" on mkdir for PPC64 based client
I recently compiled the 3.10-5 client from source on a few PPC64 systems
running RHEL 7.3. They are mounting a Gluster volume which is hosted on
more traditional x86 servers.
Everything seems to be working properly except for creating new
directories from the PPC64 clients. The mkdir command gives a
"Input/output error" and for the first few minutes the new directory is