[PATCH] dm mpath: do not fail path on -ENOSPC

2013-09-12 Thread Jun';ichi Nomura
a9d6ceb8 ("[SCSI] return ENOSPC on thin provisioning failure"). Signed-off-by: Jun'ichi Nomura Cc: Hannes Reinecke --- drivers/md/dm-mpath.c | 1 + 1 file changed, 1 insertion(+) The patch is not actually tested as I don't have such a storage at my hand. Hannes, please let m

Re: [PATCH 4/4] scsi: Return ENODATA on medium error

2013-07-01 Thread Jun';ichi Nomura
Hi Hannes, On 07/01/13 22:16, Hannes Reinecke wrote: > When a medium error is detected the SCSI stack should return > ENODATA to the upper layers. > > Cc: Jun'ichi Nomura > Signed-off-by: Hannes Reinecke > --- > block/blk-core.c | 3 +++ > d

Re: [PATCH 4/5] scsi: Return ENODATA on medium error

2013-07-01 Thread Jun';ichi Nomura
g like below for dm-multipath. It seems btrfs checking -EREMOTEIO, too. -- Jun'ichi Nomura, NEC Corporation diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index bdf26f5..15bf881 100644 --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c @@ -1261,6 +1261,21 @@ static void ac

Re: [PATCH v2 0/2] dm: Avoid use-after-free of a mapped device

2013-03-01 Thread Jun';ichi Nomura
by IO processing. The use of blk_run_queue_async should have reduced the foot print of softirq handling. -- Jun'ichi Nomura, NEC Corporation -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordom

Re: [PATCH v2 0/2] dm: Avoid use-after-free of a mapped device

2013-02-27 Thread Jun';ichi Nomura
it is not a problem from "use-after-free" point of view. -- Jun'ichi Nomura, NEC Corporation -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH] dm: do not replace bioset for request-based dm

2013-02-25 Thread Jun';ichi Nomura
ng the old bioset could cause the oops in bio_put(). Since the size of front_pad may change only with bio-based dm, it is not necessary to replace bioset for request-based dm. Reported-by: Bart Van Assche Tested-by: Bart Van Assche Signed-off-by: Jun'ichi Nomura Cc: Alasdair G Kergon Cc: Miku

Re: [PATCH 2/2] dm: Avoid use-after-free of a mapped device

2013-02-25 Thread Jun';ichi Nomura
ch that it converts recursion into iteration. Yes. That's a separate discussion. Though I'm not sure if it's ok in general to implicitly convert sync run-queue to async one. -- Jun'ichi Nomura, NEC Corporation -- To unsubscribe from this list: send the line "

Re: [PATCH 2/2] dm: Avoid use-after-free of a mapped device

2013-02-25 Thread Jun';ichi Nomura
ze of front_pad is static. Also we can't simply replace bioset because prep-ed requests in queue have reference to the old bioset. The patch below changes it not to replace bioset for request-based dm. (Brings back to the same behavior with v3.7) With this patch, I could not reproduce the problem.

Re: Fw: SAS1068 PCI-X Fusion-MPT SAS 1000:0055

2007-01-26 Thread Jun';ichi Nomura
ased on setup. (1000:0055 when software RAID is enabled and 1000:0054 or something for normal SAS) If so, there is a chance you can disable the software RAID via BIOS setup utility. Thanks, -- Jun'ichi Nomura, NEC Corporation of America - To unsubscribe from this list: send the line "

Re: megaraid driver always fails to reset adapter

2005-03-01 Thread Jun';ichi Nomura
> if (mbox->numstatus != 0xFF) break; > rmb(); > } > > Additionally, increase the loop counter to a bigger value. > > Thanks, > Sreenivas > LSI LOGIC Corporation > > >>-Original Message- >

megaraid driver always fails to reset adapter

2005-03-01 Thread Jun';ichi Nomura
Hello, I found that the megaraid driver always fails to reset the adapter with the following message: megaraid: resetting the host... megaraid mbox: reset sequence completed successfully megaraid: fast sync command timed out megaraid: reservation reset failed