[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] [PATCH] dm-thinp: report correct optimal I/O size



On Thu, Apr 28, 2011 at 09:47:33AM +0100, Joe Thornber wrote:
> I'm tempted to just say min(16M, tc->block_size << SECTOR_SHIFT).  Does
> this sound reasonable to you?

If you have a good reason for the limit go for it.  But please add a
comment explaining why the limit is there, so people running into it
later on won't be completely puzzled.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]