Re: [RFC][fat] use mpage_readpage when cluster size is page-alignment

From: cai
Date: Thu Dec 29 2005 - 01:42:51 EST


hi,

Can't we use mpage_readpage() always? IIRC, that should work fine
without disadvantage.

Thanks.


it should work, but maybe some performance loses if the
cluster size is not page-alignment, for example, 4 sector/cluster
in a 4KB/page system.
because it will fall back to the block_read_full_page when
non-adjacent block found in do_mpage_readpage, i think.
the same applies to mpage_readpages too.

thanks.
junjie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/