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


Groups > linux.kernel > #1228128

Re: [PATCH] pramdisk: new block disk driver to perform persistent storage

From Ross Zwisler <ross.zwisler@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] pramdisk: new block disk driver to perform persistent storage
Date 2015-09-18 18:20 +0200
Message-ID <qa6ye-7HP-25@gated-at.bofh.it> (permalink)
References <q9YKm-4Mg-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Sep 18, 2015 at 03:46:30PM +0800, Lin Yongting wrote:
> In embed devices, user space applications will use reserved memory
> (i.e. persistent memory) to store business data, the data is kept
> in this memory region after system rebooting or panic.
> 
> pramdisk is a block disk driver based on Persistent memory, it provide
> file system interface for application to read/write data in persistent
> memory. Application can use pramdisk to store log file or business data
> in persistent memory in the way of file system operation, avoid operating
> or managing memory directly.
> 
> pramdisk support multiple Persistent menory regions and each one is a
> block device named as /dev/pram<N>.
> 
> Usage:
> modprobe pramdisk.ko pmem=<size1>@<addr2> [ pmem=<size2>@<addr2> ... ]
> 
> For example:
>   modprobe pramdisk.ko pmem=20M@2050M pmem=20M@2150M
>   mkfs.ext3 /dev/pram1
>   mkdir /tmp/test1
>   mount -t ext3 /dev/pram1 /tmp/test1
> 
> Signed-off-by: Lin Yongting <linyongting@huawei.com>
> Signed-off-by: Wang xiaozhe <wangxiaozhe@huawei.com>

I think you already have this functionality with the PMEM driver and the
memmap=nn[KMG]!ss[KMG] command line parameter?  What are you trying to
accomplish with this driver that you can't do with PMEM?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

[PATCH] pramdisk: new block disk driver to perform persistent storage Lin Yongting <linyongting@huawei.com> - 2015-09-18 10:00 +0200
  Re: [PATCH] pramdisk: new block disk driver to perform persistent  storage Ross Zwisler <ross.zwisler@linux.intel.com> - 2015-09-18 18:20 +0200
    Re: [PATCH] pramdisk: new block disk driver to perform persistent storage Dan Williams <dan.j.williams@intel.com> - 2015-09-18 18:50 +0200
      Re: [PATCH] pramdisk: new block disk driver to perform persistent  storage Lin Yongting <linyongting@huawei.com> - 2015-09-21 11:40 +0200
    Re: [PATCH] pramdisk: new block disk driver to perform persistent  storage Lin Yongting <linyongting@huawei.com> - 2015-09-21 11:40 +0200

csiph-web