Re: [PATCH] md: dm-verity: Fix to avoid a deadlock in dm-bufio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 04, 2013 at 08:45:48AM -0800, Paul Taysom wrote:
> @@ -449,8 +468,14 @@ static void verity_prefetch_io(struct dm_verity *v, struct dm_verity_io *io)
>  				hash_block_end = v->hash_blocks - 1;
>  		}
>  no_prefetch_cluster:
> -		dm_bufio_prefetch(v->bufio, hash_block_start,
> -				  hash_block_end - hash_block_start + 1);
> +		vw = kmalloc(sizeof(*vw), GFP_KERNEL);

kmalloc?  mempool? ...

Alasdair

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux