[stgt] [PATCH] sbc: support large block sizes

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Wed Dec 30 01:48:46 CET 2009


On Tue, 29 Dec 2009 23:51:18 +0200
Pasi Kärkkäinen <pasik at iki.fi> wrote:

> On Sun, Dec 27, 2009 at 02:41:37PM +0900, FUJITA Tomonori wrote:
> > This adds 512, 1024, 2048, and 4096 block sizes support to sbc.
> > 
> > I chose the global option. We could have this as a per lun option. But
> > I'm not sure it's worth to provide an option for block size; I even
> > think that we can just change the block size to 4096.
> >
> 
> I think it is a good idea to support specifying the block size per lun.
> 
> For example for testing initiator side (OS,filesystem) performance and
> other problems with different block sizes.. so you could set up a two
> luns, first with 512 bytes sectors and second with 4k sectors.

I'm not sure it's worth supporting the block size per lun just for
testing.

If you care about the performance, you just use 4k block size.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list