Thread (2 messages) 2 messages, 2 authors, 2012-03-13

Re: [patch 6/7] blk: add plug for blkdev_issue_discard

flat view

From: Martin K. Petersen <hidden>
Date: 2012-03-13 17:05:17
Also in: lkml

quoted
quoted
quoted
quoted
"Vivek" == Vivek Goyal [off-list ref] writes:
Vivek> On Mon, Mar 12, 2012 at 11:04:18AM +0800, Shaohua Li wrote:
quoted
In raid 0 case, a big discard request is divided into several small
requests in chunk_size unit. Such requests can be merged in low layer
if we have correct plug added. This should improve the performance a
little bit.
Vivek> Martin posted a patch to remove the support for allowing merging
Vivek> of discard requests. But this seems to be a reasonable use case
Vivek> for allowing mering discard requests. CCing Martin.

Merging discard requests is hard given how we need to prepare the
command payload at the bottom of the stack. The current upstream merge
code pretends to be working but it actually doesn't. That's why I want
it dead and buried.

I have some changes pending (that I need for the REQ_COPY support) that
will make merging of non-rw requests easier to deal with. But that's a
kernel release cycle away...

-- 
Martin K. Petersen	Oracle Linux Engineering
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help