lkml.org 
[lkml]   [2016]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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

\
 
 \ /
  Last update: 2016-12-09 01:37    [W:0.028 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site