* [PATCH] block: correct documentation for blkdev_issue_discard() flags
@ 2017-01-23 19:41 Eric Biggers
2017-03-24 21:39 ` Eric Biggers
0 siblings, 1 reply; 3+ messages in thread
From: Eric Biggers @ 2017-01-23 19:41 UTC (permalink / raw)
To: linux-block; +Cc: Jens Axboe, Eric Biggers
From: Eric Biggers <ebiggers@google.com>
BLKDEV_IFL_* flags no longer exist; blkdev_issue_discard() now actually
takes BLKDEV_DISCARD_* flags.
Signed-off-by: Eric Biggers <ebiggers@google.com>
---
block/blk-lib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/block/blk-lib.c b/block/blk-lib.c
index ed89c8f4b2a0..463b76dd566f 100644
--- a/block/blk-lib.c
+++ b/block/blk-lib.c
@@ -109,7 +109,7 @@ EXPORT_SYMBOL(__blkdev_issue_discard);
* @sector: start sector
* @nr_sects: number of sectors to discard
* @gfp_mask: memory allocation flags (for bio_alloc)
- * @flags: BLKDEV_IFL_* flags to control behaviour
+ * @flags: BLKDEV_DISCARD_* flags to control behaviour
*
* Description:
* Issue a discard request for the sectors in question.
--
2.11.0.483.g087da7b7c-goog
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] block: correct documentation for blkdev_issue_discard() flags
2017-01-23 19:41 [PATCH] block: correct documentation for blkdev_issue_discard() flags Eric Biggers
@ 2017-03-24 21:39 ` Eric Biggers
2017-03-24 21:42 ` Jens Axboe
0 siblings, 1 reply; 3+ messages in thread
From: Eric Biggers @ 2017-03-24 21:39 UTC (permalink / raw)
To: linux-block; +Cc: Jens Axboe, Eric Biggers
On Mon, Jan 23, 2017 at 11:41:39AM -0800, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@google.com>
>
> BLKDEV_IFL_* flags no longer exist; blkdev_issue_discard() now actually
> takes BLKDEV_DISCARD_* flags.
>
> Signed-off-by: Eric Biggers <ebiggers@google.com>
> ---
> block/blk-lib.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/block/blk-lib.c b/block/blk-lib.c
> index ed89c8f4b2a0..463b76dd566f 100644
> --- a/block/blk-lib.c
> +++ b/block/blk-lib.c
> @@ -109,7 +109,7 @@ EXPORT_SYMBOL(__blkdev_issue_discard);
> * @sector: start sector
> * @nr_sects: number of sectors to discard
> * @gfp_mask: memory allocation flags (for bio_alloc)
> - * @flags: BLKDEV_IFL_* flags to control behaviour
> + * @flags: BLKDEV_DISCARD_* flags to control behaviour
> *
> * Description:
> * Issue a discard request for the sectors in question.
> --
> 2.11.0.483.g087da7b7c-goog
>
Ping?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] block: correct documentation for blkdev_issue_discard() flags
2017-03-24 21:39 ` Eric Biggers
@ 2017-03-24 21:42 ` Jens Axboe
0 siblings, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2017-03-24 21:42 UTC (permalink / raw)
To: Eric Biggers, linux-block; +Cc: Eric Biggers
On 03/24/2017 03:39 PM, Eric Biggers wrote:
> On Mon, Jan 23, 2017 at 11:41:39AM -0800, Eric Biggers wrote:
>> From: Eric Biggers <ebiggers@google.com>
>>
>> BLKDEV_IFL_* flags no longer exist; blkdev_issue_discard() now actually
>> takes BLKDEV_DISCARD_* flags.
>>
>> Signed-off-by: Eric Biggers <ebiggers@google.com>
>> ---
>> block/blk-lib.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/block/blk-lib.c b/block/blk-lib.c
>> index ed89c8f4b2a0..463b76dd566f 100644
>> --- a/block/blk-lib.c
>> +++ b/block/blk-lib.c
>> @@ -109,7 +109,7 @@ EXPORT_SYMBOL(__blkdev_issue_discard);
>> * @sector: start sector
>> * @nr_sects: number of sectors to discard
>> * @gfp_mask: memory allocation flags (for bio_alloc)
>> - * @flags: BLKDEV_IFL_* flags to control behaviour
>> + * @flags: BLKDEV_DISCARD_* flags to control behaviour
>> *
>> * Description:
>> * Issue a discard request for the sectors in question.
>> --
>> 2.11.0.483.g087da7b7c-goog
>>
>
> Ping?
Sorry, looks like that got lost. I've applied this, and your other
patch. Thanks for the reminder!
--
Jens Axboe
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-03-24 21:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-23 19:41 [PATCH] block: correct documentation for blkdev_issue_discard() flags Eric Biggers
2017-03-24 21:39 ` Eric Biggers
2017-03-24 21:42 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).