[SPDK] Re: Some doubts about spdk attach nvme device

Cao, Gang <gang.cao at intel.com> Tue, 04 Jan 2022 04:16:41 +0000
Newsgroups dev.linux.lists.spdk
Message-ID <PH0PR11MB5014A513C1724D8E9FA919D3834A9@PH0PR11MB5014.namprd11.prod.outlook.com>
For this scenario, as you described Primary and Secondary, you could use the Multi-Process support by Primary and Secondary processes by setting the same shm_id parameter.

Maybe here just use Process C as the primary to take over both nvme0n1 and nvme1n1 and then process A and process B as secondary to only operate nvme0n1 and nvme1n1 respectively.

-----Original Message-----
From: 徐照钱 <xu_zhaoqian(a)163.com> 
Sent: Tuesday, January 4, 2022 11:27
To: spdk(a)lists.01.org
Subject: [SPDK] Some doubts about spdk attach nvme device

Hi all, I describe a scene: 
processA(primary  --file_prefix=1) has attach nvme0n1, processB(primary --file_prefix=2) has attach nvme1n1. now processC(primary or secondry) want to attach nvme0n1 and nvme1n1 and failed, because I found that the dpdk primary process specifies --file_prefix,then the secondry process must specify the same --file_prefix. Is there any solution?
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org