Hi AnNan,
See my patch:
https://review.gerrithub.io/385341
From: SPDK [mailto:spdk-bounces@lists.01.org] On Behalf Of Annan Chang �安男
Sent: Saturday, October 14, 2017 4:41 PM
To: spdk(a)lists.01.org
Subject: [SPDK] Question about create a simple RAID1 in SPDK
Hello all,
I am planning to create a simple RAID1 in spdk.
My original idea is to implement a new spdk bdev device that contain two physical
devices.
So I looked up the code of AIO and nvme bdev device.
But I found that writing a new spdk bdev device that contain two physical nvme devices is
difficult for me
because of I am not familiar with nvme’s user space driver.
I just found in the maillist, maybe use “vbdev” architecture is just right.
But I cannot find any example of vbdev.
Does anybody can give me the advice how to write a vbdev device the contain of two bdev
nvme device ?
Thank you very much.
--
AnNan, Chang