mount options ignored / unclear

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

(Still in my quest for BTRFS performance)

It is extremely unclear which BTRFS mount options are "filesystem wide" and 
will apply to each and every mountpoint in the BTRFS filesystem, and which 
options can be set per subvolume or per mountpoint.

As far as I can tell, there is no reliable documentation about this, is there 
any ?

(Kernel is 3.13, Fedora)


i.e. I have in fstab :

/dev/sda3 / btrfs subvol=FEDORA,noatime,compress=lzo,autodefrag

...So without suprise I get in /proc/self/mountinfo:

36 1 0:32 /FEDORA / rw,noatime shared:1 - btrfs /dev/sda3 
rw,seclabel,compress=lzo,space_cache,autodefrag


...But then I have in fstab:

/dev/sda3 /home/me/.cache  btrfs   
subvol=/NOCOW/me/.cache,nodatacow,compress=no,noatime

So it is with great suprise the I get in /proc/self/mountinfo:

49 47 0:32 /NOCOW/me/.cache /home/me/.cache rw,noatime shared:33 - btrfs 
/dev/sda3 rw,seclabel,compress=lzo,space_cache,autodefrag


...I'm not suprised to see "space_cache" which I would assume to be FS-wide, 
but what the hell does "autodefrag" do in there, or even worse "compress=lzo", 
where "compress=no" has been exlicitely specified in fstab ?

That's a bug, as far as I can tell.

Kind regards.

-- 
Swâmi Petaramesh <swami@xxxxxxxxxxxxxx> http://petaramesh.org PGP 9076E32E

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux