[dm-devel] [PATCH 20/20] dm-crypt: sort writes

Mikulas Patocka mpatocka at redhat.com
Tue Aug 21 13:39:22 UTC 2012



On Tue, 21 Aug 2012, Alasdair G Kergon wrote:

> On Tue, Aug 21, 2012 at 11:09:31AM +0200, Mikulas Patocka wrote:
> > In theory the sorting should be performed by the underlying disk scheduler,
> > however, in practice the disk scheduler accepts and sorts only 128 requests.
> > In order to sort more requests, we need to implement our own sorting.
>  
> Why 128?  Isn't this nr_requests?
> (I thought we discussed this before.)
> 
> Alasdair

Yes, that's nr_requests. The user can raise it, but the default is 128.

Mikulas




More information about the dm-devel mailing list