Re: Windows and TRIM support - files, not devices

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

 



On 28 January 2017 at 10:13, Sitsofe Wheeler <sitsofe@xxxxxxxxx> wrote:
> Hi,
>
> On 28 January 2017 at 01:05, Rebecca Cran <rebecca@xxxxxxxxxxxx> wrote:
>> I've been looking at the TRIM support in Windows 8 and newer, and have come
>> across a potential problem. Other OSes use TRIM on a physical/block device,
>> but Windows only provides support for TRIM on files.
>
> What happens when using Hyper-V with raw disks that support thin
> provisioning? Is there some secret kernel only method that converts
> guest requests to the appropriate ATA/SCSI command in that case?
>
> (https://msdn.microsoft.com/en-us/windows/hardware/drivers/storage/thin-provisioning
> wasn't much help)

https://msdn.microsoft.com/en-us/library/windows/hardware/dn653576(v=vs.85).aspx
hints that "applications should use the DSM IOCTLs to perform
UNMAP/TRIM" but I've read elsewhere that "[DeviceDsmAction_Trim]
is not supported for user-mode applications" -
https://msdn.microsoft.com/en-us/library/windows/desktop/ee907416(v=vs.85).aspx
.

-- 
Sitsofe | http://sucs.org/~sits/
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux