


+ (SECTORS_PER_PAGE - 1)) stats.notify_free) (SECTORS_PER_PAGE - 1)) bi_iter.bi_sector > SECTORS_PER_PAGE_SHIFT U32 -883,12 +883,6 static void _zram_make_request(struct zram *zram, struct bio *bio) +static void _zram_make_sync_request(struct zram *zram, struct bio *bio) static void _zram_make_request(struct zram *zram, struct bio *bio) +++ -872,7 +872,7 static int zram_bvec_rw(struct zram *zram, struct bio_vec *bvec, u32 index, To factor it out and handle discard commonly without needingĭiscard logic into asynchronous IO processing functions.ĭrivers/block/zram/zram_drv.c | 73 ++++++++++++++++++++++++++++-ġ file changed, 47 insertions(+), 26 deletions(-)ĭiff -git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c It also moves discard IO logic out of IO processing functionsīecause it's rare so it's not critical for performance so I want Routine, not IO request routine, logically. IO processing functions because it should be done in IO service It because later patches will introduce asynchronous IO functions.Īs well renaming, it moves zram meta reference counting logic into To: Andrew Morton +Cc: Sergey Senozhatsky, linux-kernel, Minchan KimĬurrently, IO processing functions works synchronously. 6:42 ` zram: adjust the number of zram thread Minchan KimĠ siblings, 2 replies 22+ messages in thread

6:42 ` zram: support page-based parallel write Minchan Kim Zram: rename IO processing functions LKML Archive on help / color / mirror / Atom feed * zram: rename IO processing functions 6:42 Minchan Kim
