Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* mkfs.btrfs doesn't detect SSD
@ 2015-11-07 15:05 Christoph Anton Mitterer
  2015-11-07 15:28 ` Chris Murphy
  2015-11-07 15:30 ` Christoph Anton Mitterer
  0 siblings, 2 replies; 4+ messages in thread
From: Christoph Anton Mitterer @ 2015-11-07 15:05 UTC (permalink / raw)
  To: linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 1321 bytes --]

Hey.

I'm creating a filesystem on Samsung Evo 850 Pro on top of a dm-
crypt/LUKS container (with TRIM not being passed on, for the usual
security reasons):
# mkfs.btrfs --label system /dev/mapper/system 
btrfs-progs v4.2.2
See http://btrfs.wiki.kernel.org for more information.

Label:              system
UUID:               65531196-2e43-4c49-b495-ac9abc57d7d8
Node size:          16384
Sector size:        4096
Filesystem size:    937.00GiB
Block group profiles:
  Data:             single            8.00MiB
  Metadata:         DUP               1.01GiB
  System:           DUP              12.00MiB
SSD detected:       no
Incompat features:  extref, skinny-metadata
Number of devices:  1
Devices:
   ID        SIZE  PATH
    1   937.00GiB  /dev/mapper/system


As you can see it doesn't detect the SSD.
Isn't that kinda problematic cause btrfs does more when it detects and
SSD than just using TRIM (e.g. not DUPing meta-data)?

Can I somehow override this to get the SSD "detected"?
Or what is the general suggestion here? Having it handled as SSD or as
non-SSD, as said, when dm-crypt is used below and TRIM is not intended
to be used.


Cheers,
Chris.

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5313 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-11-09 13:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-07 15:05 mkfs.btrfs doesn't detect SSD Christoph Anton Mitterer
2015-11-07 15:28 ` Chris Murphy
2015-11-07 15:30 ` Christoph Anton Mitterer
2015-11-09 13:39   ` Austin S Hemmelgarn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox