Re: [RFC] blk: increase logical_block_size to unsigned int

2017-01-10 Thread Minchan Kim
t; linux-bl...@vger.kernel.org, > > linux-kernel@vger.kernel.org, "Andrew Morton" , > > "Sergey Senozhatsky" > > , "Jerome Marchand" > > Sent: Monday, January 9, 2017 3:33:44 PM > > Subject: Re: [RFC] blk: increase logical_block_size

Re: [RFC] blk: increase logical_block_size to unsigned int

2017-01-09 Thread Jerome Marchand
ky" > , "Robert Jennings" , > "Jerome Marchand" > Sent: Monday, January 9, 2017 3:33:44 PM > Subject: Re: [RFC] blk: increase logical_block_size to unsigned int > > On (01/09/17 14:04), Minchan Kim wrote: > > Mostly, zram is used as

Re: [RFC] blk: increase logical_block_size to unsigned int

2017-01-09 Thread Sergey Senozhatsky
On (01/09/17 14:04), Minchan Kim wrote: > Mostly, zram is used as swap system on embedded world so it want to do IO > as PAGE_SIZE aligned/size IO unit. For that, one of the problem was > blk_queue_logical_block_size(zram->disk->queue, PAGE_SIZE) made overflow > in *64K page system* so [1] changed

[RFC] blk: increase logical_block_size to unsigned int

2017-01-08 Thread Minchan Kim
Mostly, zram is used as swap system on embedded world so it want to do IO as PAGE_SIZE aligned/size IO unit. For that, one of the problem was blk_queue_logical_block_size(zram->disk->queue, PAGE_SIZE) made overflow in *64K page system* so [1] changed it to constant 4096. Since that, partial IO can