linux-scsi mailing list

FromSubjectsort iconDate
Madhavi Manchala
When the device task management functions get invoked

Dear All,

I have implemented some Task Management Functions like abort_task in a
custom device driver for UASP. None of these functions get invoked at
any point of time. Could any one please let me know when can these
functions get invoked?

I have canceled the read/write operations from/to host to device or
vice-versa. Still, they did not get invoked.

However, the device is enumerated and all the operations are working
fine like read / write.

Thanks in advance.

With Regards,
Madhavi M
...

Jul 3, 5:40 am 2009
Tejun Heo
[PATCHSET] block: fix merge of requests with different failf...

Hello,

Block layer didn't consider failfast status while merging requests and
it led to premature failure of normal (non-failfast) IOs. Niel
Lambrechts could trigger the problem semi-reliably on ext4 when
resuming from STR. ext4 uses readahead when reading inodes and
combined with the deterministic extra SATA PHY exception cycle during
resume on the specific configuration, non-readahead inode read would
fail causing ext4 errors. Please read the following thread for
details.

[ message continues ]

" title="http://lkml.org...">http://lkml.org...

Jul 3, 4:48 am 2009
Jens Axboe
Re: [PATCHSET] block: fix merge of requests with different f...

It must have been several releases ago. So while the bug is indeed very

Yeah I'll do that, #1 for 2.6.31 and the rest for .32. Thanks for
finding and fixing this bug!

--
Jens Axboe

--

Jul 3, 6:54 am 2009
Tejun Heo
[PATCH 2/4] block: use the same failfast bits for bio and re...

bio and request use the same set of failfast bits. This patch makes
the following changes to simplify things.

* enumify BIO_RW* bits and reorder bits such that BIOS_RW_FAILFAST_*
bits coincide with __REQ_FAILFAST_* bits.

* The above pushes BIO_RW_AHEAD out of sync with __REQ_FAILFAST_DEV
but the matching is useless anyway. init_request_from_bio() is
responsible for setting FAILFAST bits on FS requests and non-FS
requests never use BIO_RW_AHEAD. Drop the code and comment from
blk_rq_...

Jul 3, 4:48 am 2009
Tejun Heo
[PATCH 3/4] block: implement mixed merge of different failfa...

Failfast has characteristics from other attributes. When issuing,
executing and successuflly completing requests, failfast doesn't make
any difference. It only affects how a request is handled on failure.
Allowing requests with different failfast settings to be merged cause
normal IOs to fail prematurely while not allowing has performance
penalties as failfast is used for read aheads which are likely to be
located near in-flight or to-be-issued normal IOs.

This patch introduces the concept of 'mi...

Jul 3, 4:48 am 2009
Tejun Heo
[PATCH 4/4] scsi,block: update SCSI to handle mixed merge fa...

Update scsi_io_completion() such that it only fails requests till the
next error boundary and retry the leftover. This enables block layer
to merge requests with different failfast settings and still behave
correctly on errors. Allow merge of requests of different failfast
settings.

As SCSI is currently the only subsystem which follows failfast status,
there's no need to worry about other block drivers for now.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk&g...

Jul 3, 4:48 am 2009
Tejun Heo
[PATCH 1/4] block: don't merge requests of different failfas...

Block layer used to merge requests and bios with different failfast
settings. This caused regular IOs to fail prematurely when they were
merged into failfast requests for readahead.

Niel Lambrechts could trigger the problem semi-reliably on ext4 when
resuming from STR. ext4 uses readahead when reading inodes and
combined with the deterministic extra SATA PHY exception cycle during
resume on the specific configuration, non-readahead inode read would
fail causing ext4 errors. Please read the follo...

Jul 3, 4:48 am 2009
Joe Jin
Re: kexec kernel failed to restart aacraid device

Hi,

Checked aacraid drivers, initialzing and reset device at _aac_rx_init(),
at the begin of function, set @adapter_enable_int to aac_rx_disable_interrupt(),
when device status it KERNEL_PANIC, driver will try to reset device,
before reset device, it will check device health or no by call
aac_rx_check_health(), then aac_rx_check_health()->rx_sync_cmd() will use the
aac_rx_disable_interrupt() to restore interrupt mask, is that the right
action? if need to replace it to aac_rx_enable_interrupt_...

Jul 2, 9:33 pm 2009
dann frazier
Re: mptsas, msi and the dl585 g2

For the record, I tried moving the card to the other PCI-X slot and
the pci=routeirq boot param, but neither helped.

--
dann frazier

--

Jul 3, 6:57 pm 2009
previous daytodaynext day
July 2, 2009July 3, 2009July 4, 2009