[PATCH] scsi: sd: Fix cache_type_store()

2018-12-22 Thread Ivan Mironov
Changing of caching mode via /sys/devices/.../scsi_disk/.../cache_type may fail if device responses to MODE SENSE command with DPOFUA flag set, and then checks this flag to be not set on MODE SELECT command. When trying to change cache_type, write always fails: # echo "none" >cache_type

Re: PCI IRQ Affinity Infrastructure question with BLK/SCSI-MQ

2018-12-22 Thread Ming Lei
Hi Humanshu, Please set your email line break as 72 or 80, otherwise it is quite hard to reply in line. On Fri, Dec 21, 2018 at 10:48:10PM +, Himanshu Madhani wrote: > Hi Christoph, > > We are facing an issue with masked MSIX vectors received while trying to get > pci vectors when BLK/SCSI-

Re: [PATCH] sd: use mempool for discard special page

2018-12-22 Thread Jens Axboe
On 12/22/18 10:42 AM, James Bottomley wrote: > On Fri, 2018-12-21 at 20:49 -0700, Jens Axboe wrote: >> On 12/21/18 7:48 PM, James Bottomley wrote: >>> On Wed, 2018-12-12 at 06:46 -0700, Jens Axboe wrote: When boxes are run near (or to) OOM, we have a problem with the discard page allocati

Re: [GIT PULL] SCSI fixes for 4.20-rc7

2018-12-22 Thread pr-tracker-bot
The pull request you sent on Fri, 21 Dec 2018 18:50:56 -0800: > git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9105b8aa50c182371533fc97db64fc8f26f051b3 Thank you! -- Deet-doot-dot, I am a bot. ht

Re: [ANNOUNCE v2]: Broadcom (Emulex) FC Target driver - efct

2018-12-22 Thread Ram Kishore Vegesna
Hi Sebastian, Thanks a lot for testing and adding 4.19 kernel support to our driver. I pulled your changes and merged to gitlab repository. Fixed the issues which you encountered, pushed the changes to our repository. Thanks, Ram https://gitlab.com/jsmart/efct-Emulex_FC_Target On Thu, Dec 20,

Re: [PATCH] sd: use mempool for discard special page

2018-12-22 Thread James Bottomley
On Fri, 2018-12-21 at 20:49 -0700, Jens Axboe wrote: > On 12/21/18 7:48 PM, James Bottomley wrote: > > On Wed, 2018-12-12 at 06:46 -0700, Jens Axboe wrote: > > > When boxes are run near (or to) OOM, we have a problem with the > > > discard page allocation in sd. If we fail allocating the special >

Re: Incorrect warning in fc_rport_destroy

2018-12-22 Thread Hannes Reinecke
On 12/7/18 4:25 PM, Ross Lagerwall wrote: Hi Hannes, Commit bbc0f8bd88ab ("scsi: libfc: Add WARN_ON() when deleting rports") added a warning whose intent was to check whether the rport was still linked into the peer list. It doesn't work as intended and I consistently see messages like the fo