linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: ZRAM struct disk usage
       [not found] <CANOqyr43U0KiQECb5P7sUDpFd9q55vKJViPLaoxuGJEBgcf19Q@mail.gmail.com>
@ 2016-12-09  0:36 ` Sergey Senozhatsky
  0 siblings, 0 replies; only message in thread
From: Sergey Senozhatsky @ 2016-12-09  0:36 UTC (permalink / raw)
  To: Cory Pruce; +Cc: Nitin Gupta, Sergey Senozhatsky, linux-kernel, minchan

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-12-09  0:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CANOqyr43U0KiQECb5P7sUDpFd9q55vKJViPLaoxuGJEBgcf19Q@mail.gmail.com>
2016-12-09  0:36 ` ZRAM struct disk usage Sergey Senozhatsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).