lkml.org 
[lkml]   [2009]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectDisable aggregation of requests to a block device
From
Hi,

I'm running I/O to a block device (which is an iSCSI device, but that
shouldn't matter), usually with transfer length = 128kB. From time to
time, I see that 2 128kB commands get aggregated to a single 256kB
command, which is bad for me because the resources that I allocate are
based on 128kB commands. I could limit the command size by setting
/sys/block/sdX/queue/max_sectors_kb to 128kB, but sometimes I expect
larger commands (e.g. 512kB), and I don't want the block layer to
split them into smaller commands.

My question is: can I disable this aggregation? If yes, how? Else, is
there another solution?

Thanks,
Erez


\
 
 \ /
  Last update: 2009-02-19 13:11    [W:0.026 / U:1.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site