search for: btrfs_show_opt

Displaying 10 results from an estimated 10 matches for "btrfs_show_opt".

2011 Nov 11
1
[PATCH] btrfs: rename the option to nospace_cache
...ootid=%d"}, {Opt_defrag, "autodefrag"}, {Opt_inode_cache, "inode_cache"}, - {Opt_no_space_cache, "no_space_cache"}, + {Opt_no_space_cache, "nospace_cache"}, {Opt_recovery, "recovery"}, {Opt_err, NULL}, }; @@ -711,7 +711,7 @@ static int btrfs_show_options(struct seq_file *seq, struct vfsmount *vfs) if (btrfs_test_opt(root, SPACE_CACHE)) seq_puts(seq, ",space_cache"); else - seq_puts(seq, ",no_space_cache"); + seq_puts(seq, ",nospace_cache"); if (btrfs_test_opt(root, CLEAR_CACHE)) seq_puts(seq, ",c...
2013 Feb 07
8
[RFC] Btrfs: Allow the compressed extent size limit to be modified v2
...pressed_extent_size -> max_compressed_extent_kb - Use #define BTRFS_DEFAULT_MAX_COMPR_EXTENTS instead of raw 128. - Fix min calculation for nr_pages. - Comment cleanup. - Use more self-documenting mount option parameter: compressed_extent_size -> max_compressed_extent_kb - Fix formatting in btrfs_show_options. --- fs/btrfs/ctree.h | 6 ++++++ fs/btrfs/disk-io.c | 1 + fs/btrfs/inode.c | 8 ++++---- fs/btrfs/relocation.c | 7 ++++--- fs/btrfs/super.c | 20 +++++++++++++++++++- 5 files changed, 34 insertions(+), 8 deletions(-) diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h in...
2012 Sep 18
3
R: [PATCH 2/2] Btrfs-progs: add mount-option command
...o originale---- >Da: seto.hidetoshi@jp.fujitsu.com >Data: 18/09/2012 3.30 >A: <linux-btrfs@vger.kernel.org> >Ogg: [PATCH 2/2] Btrfs-progs: add mount-option command > [...] >+/* >+ * Flags for mount options. >+ * >+ * Note: don''t forget to add new options to btrfs_show_options() >+ */ >+#define BTRFS_MOUNT_NODATASUM (1 << 0) >+#define BTRFS_MOUNT_NODATACOW (1 << 1) >+#define BTRFS_MOUNT_NOBARRIER (1 << 2) >+#define BTRFS_MOUNT_SSD (1 << 3) >+#define BTRFS_MOUNT_DEGRADED (1 << 4) >+#define BTRFS_MOUNT_COMPRESS...
2010 Jan 14
0
[PATCH] Include subvolume= and metadata_ratio= in /cat/proc
...thor: ghigo <ghigo@kreijack.homelinux.net> Date: Thu Jan 14 20:27:41 2010 +0100 Add info about metadata_ratio and subvolume name diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 3f9b457..faeaa7f 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -461,6 +461,16 @@ static int btrfs_show_options(struct seq_file *seq, struct vfsmount *vfs) seq_puts(seq, ",discard"); if (!(root->fs_info->sb->s_flags & MS_POSIXACL)) seq_puts(seq, ",noacl"); + if( root->fs_info->metadata_ratio ) + seq_printf(seq, ",metadata_ratio=%d", + root-&gt...
2012 Jun 15
6
[PATCH] Btrfs: add "nocompress" mount option
...nt_opt, FORCE_COMPRESS); + btrfs_clear_opt(info->mount_opt, COMPRESS); + btrfs_set_opt(info->mount_opt, NOCOMPRESS); + break; case Opt_ssd: printk(KERN_INFO "btrfs: use ssd allocation scheme\n"); btrfs_set_opt(info->mount_opt, SSD); @@ -856,6 +863,8 @@ static int btrfs_show_options(struct seq_file *seq, struct dentry *dentry) else seq_printf(seq, ",compress=%s", compress_type); } + if (btrfs_test_opt(root, NOCOMPRESS)) + seq_puts(seq, ",nocompress"); if (btrfs_test_opt(root, NOSSD)) seq_puts(seq, ",nossd"); if (btrfs_test_opt...
2012 Jun 23
9
[PATCH 0/5] btrfs: lz4/lz4hc compression
WARNING: This is not compatible with the previous lz4 patchset. If you''re using experimental compression that isn''t in mainline kernels, be prepared to backup and restore or decompress before upgrading, and have backups in case it eats data (which appears not to be a problem any more, but has been during development). These patches add lz4 and lz4hc compression
2012 Feb 13
10
[RFB] add LZ4 compression method to btrfs
Hi, so here it is, LZ4 compression method inside btrfs. The patchset is based on top of current Chris'' for-linus + Andi''s snappy implementation + the fixes from Li Zefan. Passes xfstests and stresstests. I haven''t measured performance on wide range of hardware or workloads, rather wanted to publish the patches before I get distracted again. I''d like to ask
2011 Aug 15
9
[patch v2 0/9] btrfs: More error handling patches
Hi all - The following 9 patches add more error handling to the btrfs code: - Add btrfs_panic - Catch locking failures in {set,clear}_extent_bit - Push up set_extent_bit errors to callers - Push up lock_extent errors to callers - Push up clear_extent_bit errors to callers - Push up unlock_extent errors to callers - Make pin_down_extent return void - Push up btrfs_pin_extent errors to
2011 Aug 23
40
[PATCH 00/21] [RFC] Btrfs: restriper
Hello, This patch series adds an initial implementation of restriper (it''s a clever name for relocation framework that allows to do selective profile changing and selective balancing with some goodies like pausing/resuming and reporting progress to the user. Profile changing is global (per-FS) so far, per-subvolume profiles require some discussion and can be implemented in future.
2011 Oct 04
68
[patch 00/65] Error handling patchset v3
Hi all - Here''s my current error handling patchset, against 3.1-rc8. Almost all of this patchset is preparing for actual error handling. Before we start in on that work, I''m trying to reduce the surface we need to worry about. It turns out that there is a ton of code that returns an error code but never actually reports an error. The patchset has grown to 65 patches. 46 of them