[01:07:30] *** Joins: tomzawadzki (~tomzawadz@134.134.139.83) [01:45:14] *** Quits: Shuhei (caf6fc61@gateway/web/freenode/ip.202.246.252.97) (Ping timeout: 260 seconds) [09:27:45] *** Quits: tomzawadzki (~tomzawadz@134.134.139.83) (Ping timeout: 248 seconds) [09:45:13] hi nvme_noob [09:45:30] 2nd parameter to construct_malloc_bdev RPC is the block size [09:45:42] scripts/rpc.py construct_malloc_bdev 64 4096 [09:45:56] this would create a 64MB malloc bdev with block size 4K [12:48:08] jimharris: do we need to add a new feature flag for internal xattrs? https://review.gerrithub.io/#/c/395122/ [15:52:32] *** Joins: nvme_noob (d05b0202@gateway/web/freenode/ip.208.91.2.2) [15:54:17] Thanks jimharris [15:54:37] np [15:54:54] drv: yeah - i noted that on the review (re: feature flag for internal xattrs) [15:55:28] I was able to get a 4k disk with [NULL] section and in the Malloc section used BlockSize option [15:56:15] I was wondering if spdk supports showing a 512 block size disk on the target as a 4k disk to the client? [15:57:42] something like "AIO /dev/sdc AIO1 4096 " [15:58:00] where /dev/sdc is a 512 block size device [15:59:37] yes - that should work [16:11:01] cool.. lemme test that [16:14:34] bdev_aio.c: 476:create_aio_disk: *WARNING*: Specified block size 4096 does not match auto-detected block size 512 [16:14:40] can i just ignore that warning? [16:15:07] yes - you should be able to ignore that warning [16:16:07] Thanks @jimharris [16:21:48] create_aio_disk() should probably add extra warnings (at least) if the disk size is not an even multiple of the override block size [16:22:17] oh - never mind, it does, just later in the function than where I was looking [16:23:22] so nvme_noob - this means you will not be able to override 512 block size to 4096 unless /dev/sdc has size that's an even 4096 multiple [16:25:29] *** Quits: nvme_noob (d05b0202@gateway/web/freenode/ip.208.91.2.2) (Ping timeout: 260 seconds) [20:48:27] *** Quits: drv (daniel@oak.drv.nu) (Remote host closed the connection) [20:52:31] *** Joins: drv (daniel@oak.drv.nu) [20:52:32] *** ChanServ sets mode: +o drv