# Re: \[PATCH\] md: raid1,10: Handle REQ\_WRITE\_SAME flag in write bios

- From: Martin K. Petersen \<hidden\>
- Date: 2013-01-08 00:21:27 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2013/01/6622720
- Thread: https://ratatoskr.run/linux-raid/2013/01/6622720/t.md

```text
>>>>> "Joe" == Joe Lawrence [ref] writes:

Joe> On Mon, 7 Jan 2013, NeilBrown wrote:
>> Assuming that a REQ_WRITE_SAME is just like a normal write except for
>> the iovec being shorter (is that right?)

Yes, that's correct. bio_sectors() will correspond to the area worked on
but the bio_vec just describes a single logical block.

-- 
Martin K. Petersen	Oracle Linux Engineering
```
