Re: ZRAM struct disk usage
From: Sergey Senozhatsky
Date: Thu Dec 08 2016 - 19:36:10 EST
On (12/08/16 11:17), Cory Pruce wrote:
> Just wondering if it was really necessary to use the disk struct. It seems
> like the struct is more used for record keeping/io config than actually
> holding the data (actual data is worked with via page operations).
> Is this correct? What was the main need to use the data structure? I see
> that the one and only partition is used for io acct but this seems more
> nice to have to me than truly necessary being that this isn't an actual
because we want to have an actual block device with disk capacity,
device IO request queue and so no.