[PATCH] hpsa: cleanup bitops usage

2015-03-13 Thread Akinobu Mita
Remove unnecessary adjustment for bit number and address of bitmask, and use BITS_TO_LONGS macro to calculate bitmap size. This change just simplifies the code a bit. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Cc: Don Brace don.br...@pmcs.com Cc: iss_storage...@hp.com Cc:

Re: [PATCH] sd, mmc, virtio_blk, string_helpers: fix block size units

2015-03-13 Thread Ulf Hansson
On 6 March 2015 at 03:47, James Bottomley james.bottom...@hansenpartnership.com wrote: From: James Bottomley jbottom...@parallels.com The current string_get_size() overflows when the device size goes over 2^64 bytes because the string helper routine computes the suffix from the size in bytes.

Re: [PATCH 0/7] dm: add full blk-mq support to request-based DM

2015-03-13 Thread Jens Axboe
On 03/11/2015 09:56 PM, Mike Snitzer wrote: This patchset updates request-based DM (used exclussively by DM multipath) to support blk-mq I/O path or the old -request_fn I/O path -- the default is still the old -request_fn I/O path. Like was done for SCSI, I've exposed a dm-mod.ko 'use_blk_mq'