Skip to content

Btrfs: set mount options permanently

Hidetoshi Seto linux-btrfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesIn review
  2. v12 patches 15 repliesSuperseded

Changes in v2 from the cover letter

- Allow operator [+-=] like chmod for setting options
- Save options by words instead of internal bits.
(e.g. kernel code will translate a word "ssd_spread" to 2 internal
bits "SSD" and "SSD_SPREAD". However this behavior might be changed if kernel updates.)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Btrfs-progs: add mount-option commandMakefile btrfs-parse-mntopt.c btrfs-parse-mntopt.h +4 more+371 -32 replies
2/4Btrfs-progs: add mount-option command man pageman/btrfs.8.in+25 -01 reply
3/4btrfs: make subroutine __btrfs_parse_optionsfs/btrfs/super.c+214 -2170 replies
4/4btrfs: support default mount optionsfs/btrfs/ctree.h fs/btrfs/super.c+20 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] Btrfs: set mount options permanently

Following patches are going to implement one of unclaimed features listed in the btrfs wiki:

https://btrfs.wiki.kernel.org/index.php/Project_ideas#Set_mount_options_permanently

Previous v1 post and discussion can be referred from:
http://lwn.net/Articles/516898/

v2:
- Allow operator [+-=] like chmod for setting options
- Save options by words instead of internal bits.
(e.g. kernel code will translate a word "ssd_spread" to 2 internal
bits "SSD" and "SSD_SPREAD". However this behavior might be changed if kernel updates.)

Special thanks to Kazuhiro Yamashita for his time and efforts. Again, your comments/reviews are welcomed.

Thanks,
H.Seto