Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1468361
| From | Tom Yan <tom.ty89@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat |
| Date | 2016-08-23 10:00 +0200 |
| Message-ID | <s9eMN-Y4-13@gated-at.bofh.it> (permalink) |
| References | (3 earlier) <s95zQ-3HK-61@gated-at.bofh.it> <s97ii-4By-9@gated-at.bofh.it> <s98o1-5uy-1@gated-at.bofh.it> <s9crD-85M-7@gated-at.bofh.it> <s9dnI-eE-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 23 August 2016 at 06:20, Shaun Tancheff <shaun.tancheff@seagate.com> wrote: > On Tue, Aug 23, 2016 at 12:26 AM, Tom Yan <tom.ty89@gmail.com> wrote: > >> It is always 1 merely because we prefer sticking to that. Say we want >> to enable multi-block payload now, it won't be 1 anymore. > > Sorry, I though that DSM TRIM is using 512 bytes here because > WRITE_SAME_16 has a payload of a single logical sector. Nope, SCSI Write Same commands does not have payload (or in SCSI terms, parameter list / data-out buffer). > >> Also note that the payload is NOT always fully-filled. > > Oh, I was considering filling the remainder of the buffer > with 0's using memset() as you described to be "filly-filled" > in this case. Sorry for the confusion. Well yeah _after_ memset() it should always be "fully-filled" (i.e. 512-byte aligned). > > -- > Shaun Tancheff
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat Shaun Tancheff <shaun@tancheff.com> - 2016-08-22 06:30 +0200
Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat Hannes Reinecke <hare@suse.de> - 2016-08-22 08:30 +0200
Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat Tom Yan <tom.ty89@gmail.com> - 2016-08-22 21:30 +0200
Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat Shaun Tancheff <shaun.tancheff@seagate.com> - 2016-08-22 22:00 +0200
Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat Tom Yan <tom.ty89@gmail.com> - 2016-08-22 22:20 +0200
Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat Tom Yan <tom.ty89@gmail.com> - 2016-08-22 23:30 +0200
Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat Shaun Tancheff <shaun.tancheff@seagate.com> - 2016-08-23 00:10 +0200
Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat Tom Yan <tom.ty89@gmail.com> - 2016-08-23 02:00 +0200
Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat Shaun Tancheff <shaun.tancheff@seagate.com> - 2016-08-23 03:10 +0200
Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat Tom Yan <tom.ty89@gmail.com> - 2016-08-23 07:30 +0200
Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat Shaun Tancheff <shaun.tancheff@seagate.com> - 2016-08-23 08:30 +0200
Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat Tom Yan <tom.ty89@gmail.com> - 2016-08-23 10:00 +0200
Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat Shaun Tancheff <shaun.tancheff@seagate.com> - 2016-08-23 11:00 +0200
Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat Tom Yan <tom.ty89@gmail.com> - 2016-08-23 12:10 +0200
Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-08-24 05:40 +0200
Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat Tom Yan <tom.ty89@gmail.com> - 2016-08-24 07:50 +0200
Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat Shaun Tancheff <shaun.tancheff@seagate.com> - 2016-08-24 23:50 +0200
Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat Tom Yan <tom.ty89@gmail.com> - 2016-08-25 08:40 +0200
Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat Shaun Tancheff <shaun.tancheff@seagate.com> - 2016-08-25 09:20 +0200
csiph-web