Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1538986

Re: ZRAM struct disk usage

From Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Newsgroups linux.kernel
Subject Re: ZRAM struct disk usage
Date 2016-12-09 01:40 +0100
Message-ID <sMhod-4BC-17@gated-at.bofh.it> (permalink)
References <sMhod-4BC-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: ZRAM struct disk usage Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-12-09 01:40 +0100

csiph-web