Re: [PATCH] btrfs-progs: mkfs: allow not to trim a device

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

 



>>>>> "David" == David Sterba <dsterba@xxxxxxx> writes:

>> Just curious: Whats the use case for this?

David> http://digitalvampire.org/blog/index.php/2012/03/16/you-can-never-be-too-rich-or-too-thin/

Well, a cap of 1MB per UNMAP command is absolute crazy talk. We
currently do 2GB per command on ATA and 2TB per command on most SCSI
targets.

I don't disagree that it may make sense to have a disable discard option
to mkfs. But Roland really needs to get his VPD reporting fixed. I
suspect what the array meant to communicate was a 1MB discard
granularity, not a 1MB per command limit...a common mistake.

-- 
Martin K. Petersen	Oracle Linux Engineering
--
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