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

Re: [dm-devel] [PATCH for-3.14 14/20] dm thin: requeue bios to DM core if no_free_space and in read-only mode



On Fri, Dec 20, 2013 at 06:37:27PM -0500, Mike Snitzer wrote:
> +static void handle_unserviceable_bio(struct pool *pool, struct bio *bio)
> +{
> +	/*
> +	 * When pool is read-only, no cell locking is needed because
> +	 * nothing is changing.
> +	 */
> +	WARN_ON_ONCE(get_pool_mode(pool) != PM_READ_ONLY);
> +
> +	if (pool->no_free_space)
> +		retry_on_resume(bio);
> +	else
> +		bio_io_error(bio);
> +}

Could we rename no_free_space please? (requeue_unserviceable_bios?)


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