Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1485453

Re: TRIM/UNMAP/DISCARD via ATA Passthrough

From "Jason A. Donenfeld" <Jason@zx2c4.com>
Newsgroups linux.kernel
Subject Re: TRIM/UNMAP/DISCARD via ATA Passthrough
Date 2016-09-17 03:30 +0200
Message-ID <sicC5-4fC-9@gated-at.bofh.it> (permalink)
References (4 earlier) <shLVg-3tF-11@gated-at.bofh.it> <shZlv-3Xl-29@gated-at.bofh.it> <si3Iu-6DG-11@gated-at.bofh.it> <si4bv-7aF-23@gated-at.bofh.it> <si4Od-7DO-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Sep 16, 2016 at 7:06 PM, Austin S. Hemmelgarn
<ahferroin7@gmail.com> wrote:
> 1. UAS (not some other SCSI transport) without UNMAP support.
> 2. Supports ATA_12 or ATA_16 pass through.
> 3. ATA DEVICE IDENTIFY via SAT indicates that the device supports
> DISCARD/TRIM.
> Then we'd be matching behavior on Windows, and should probably be relatively
> safe.

This very clearly seems like a sensible plan. It's nice to learn that
someone with a USB sniffer (and not just a désassembler :P) confirms
this is what Windows is doing. I see no reason for Linux not to do the
same. Are there any remaining objections to this plan?

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

TRIM/UNMAP/DISCARD via ATA Passthrough "Jason A. Donenfeld" <Jason@zx2c4.com> - 2016-09-12 21:00 +0200
  Re: TRIM/UNMAP/DISCARD via ATA Passthrough Henrique de Moraes Holschuh <hmh@hmh.eng.br> - 2016-09-13 19:50 +0200
  Re: TRIM/UNMAP/DISCARD via ATA Passthrough "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-09-14 20:40 +0200
    Re: TRIM/UNMAP/DISCARD via ATA Passthrough "Jason A. Donenfeld" <Jason@zx2c4.com> - 2016-09-15 17:50 +0200
      Re: TRIM/UNMAP/DISCARD via ATA Passthrough "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-09-15 18:10 +0200
        Re: TRIM/UNMAP/DISCARD via ATA Passthrough "Jason A. Donenfeld" <Jason@zx2c4.com> - 2016-09-15 23:00 +0200
          Re: TRIM/UNMAP/DISCARD via ATA Passthrough Hannes Reinecke <hare@suse.de> - 2016-09-16 13:20 +0200
            Re: TRIM/UNMAP/DISCARD via ATA Passthrough "Austin S. Hemmelgarn" <ahferroin7@gmail.com> - 2016-09-16 18:00 +0200
              Re: TRIM/UNMAP/DISCARD via ATA Passthrough James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-09-16 18:30 +0200
                Re: TRIM/UNMAP/DISCARD via ATA Passthrough "Austin S. Hemmelgarn" <ahferroin7@gmail.com> - 2016-09-16 19:10 +0200
                Re: TRIM/UNMAP/DISCARD via ATA Passthrough "Jason A. Donenfeld" <Jason@zx2c4.com> - 2016-09-17 03:30 +0200
                Re: TRIM/UNMAP/DISCARD via ATA Passthrough James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-09-17 07:20 +0200
                Re: TRIM/UNMAP/DISCARD via ATA Passthrough "Austin S. Hemmelgarn" <ahferroin7@gmail.com> - 2016-09-19 15:10 +0200

csiph-web