Re: [PATCH v2] nvme-pci: fix dbbuf_sq_db point to freed memory

2019-01-06 Thread Lulina (A)
oints to, causing memory confusion and kernel crash. On 2019/1/5 2:07, Christoph Hellwig wrote: > On Fri, Dec 21, 2018 at 01:07:25AM +, Lulina (A) wrote: >> The case is that nvme device support NVME_CTRL_OACS_DBBUF_SUPP, and >> return failed when the driver sent nvme_admin_dbbuf.

[PATCH v2] nvme-pci: fix dbbuf_sq_db point to freed memory

2018-12-20 Thread Lulina (A)
The case is that nvme device support NVME_CTRL_OACS_DBBUF_SUPP, and return failed when the driver sent nvme_admin_dbbuf. The nvmeq->dbbuf_sq_db point to freed memory, as nvme_dbbuf_set is called after nvme_dbbuf_init. Signed-off-by: lulina diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host

[PATCH] nvme-pci: fix dbbuf_sq_db point to freed memory

2018-12-19 Thread Lulina (A)
The case is that nvme device support NVME_CTRL_OACS_DBBUF_SUPP, and return failed when the driver sent nvme_admin_dbbuf. The nvmeq->dbbuf_sq_db point to freed memory, as nvme_dbbuf_set is called behind nvme_dbbuf_init. Change-Id: Ief2a5877cb008d3c29cf99053f80fecc9b8db1db Signed-off-by: lulina di

Question about bcache buckets utilization

2014-09-09 Thread Lulina (A)
Hi! Kent Overstreet, I tested bcache branch for jens: http://evilpiepirate.org/git/linux-bcache.git/log/?h=for-jens I have a question about buckets utilization, can you help me to resolve it? This is the test fio cmd: fio -name iops -rw=randwrite -iodepth=32 -numjobs=1 -filename=/dev/bcache0 -io