Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1412720
| From | "Martin K. Petersen" <martin.petersen@oracle.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] block: correctly fallback for zeroout |
| Date | 2016-06-03 05:00 +0200 |
| Message-ID | <rFNv4-5UF-1@gated-at.bofh.it> (permalink) |
| References | <rD7Tk-1g2-21@gated-at.bofh.it> <rDJlT-7Bi-21@gated-at.bofh.it> |
| Organization | Oracle Corporation |
>>>>> "Sitsofe" == Sitsofe Wheeler <sitsofe@yahoo.com> writes: Sitsofe> The original SCSI WRITE SAME has overloaded semantics - not Sitsofe> only does it mean "write this data multiple times" but it can Sitsofe> also be used to mean "discard this range" too. If the kernel's Sitsofe> command was modelled on the SCSI original perhaps this Sitsofe> conflation clouded things? REQ_WRITE_SAME in the context of the kernel explicitly means "write payload to this block range". A REQ_DISCARD command may be serviced using WRITE SAME(16) with the UNMAP bit set in the SCSI disk driver but that's entirely orthogonal. -- Martin K. Petersen Oracle Linux Engineering
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] block: correctly fallback for zeroout "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-06-03 05:00 +0200
csiph-web