Messages in this thread | | | Date | Fri, 9 Dec 2016 09:36:11 +0900 | From | Sergey Senozhatsky <> | Subject | Re: ZRAM struct disk usage |
| |
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 > peripheral.
because we want to have an actual block device with disk capacity, device IO request queue and so no.
-ss
| |