Re: RAID creation resync behaviors

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

 



On 05/09/2017 04:30 PM, NeilBrown wrote:
On Tue, May 09 2017, Jes Sorensen wrote:

On 05/03/2017 10:04 PM, Shaohua Li wrote:
On Thu, May 04, 2017 at 11:07:01AM +1000, Neil Brown wrote:
On Wed, May 03 2017, Shaohua Li wrote:
This doesn't work well. read returns 0 for trimmed data space in some SSDs, but
not all. If not, we will have trouble.

/sys/block/<device>/queue/discard_zeroes_data

We could use this as an indicator for what to do.

According to

Documentation/ABI/testing/sysfs-block

Description:
                 Will always return 0.  Don't rely on any specific behavior
                 for discards, and don't read this file.

See also
  Commit: 48920ff2a5a9 ("block: remove the discard_zeroes_data flag")

Crap!

Back to the drawing board :(

Jes

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



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux