Re: BTRFS, SSD and single metadata

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

 



Le lundi 16 juin 2014, 12:16:33 Duncan a écrit :
> Does btrfs automatically add the ssd mount option or do you have to add 
> it?  If you have to add it, that means btrfs isn't detecting the ssd, 

First time I mounted the freshly created filesystem, it actually added the 
"ssd" option by itself. Thus indeed, it could see this was a SSD...

> However, it occurs to me that with the LUKS encryption layer, I'm not 
> entirely sure if duplication at the btrfs level would end up as the same 
> encrypted stream headed to the hardware in any case.  If it would encrypt 
> the two copies of the dup-mode metadata as different, then the hardware 
> dedup/compression wouldn't work on it anyway.  OTOH, if it encrypts them 
> as the same stream headed to hardware, then again, it would matter.

That makes an excellent point. 2 copies of the same binary data in different 
filesystem sectors, process thru LUKS, will create entirely different binary 
ciphertext, so for sure both metadata copies will always be different and 
cannot be "deduped" by SSD firmware...

Kind regards.

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

Les êtres humains, cernés par leurs besoins, s'agitent sans but comme des
lapins pris au piège. Ainsi, moine, détourne-toi de ces besoins et trouve
la liberté.
-- Buddha Shakyamuni

--
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