All of lore.kernel.org
 help / color / mirror / Atom feed
* a few trivial cleanups
@ 2016-09-11 14:03 Christoph Hellwig
  2016-09-11 14:03 ` [PATCH 1/3] block: remove bio_destructor_t Christoph Hellwig
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Christoph Hellwig @ 2016-09-11 14:03 UTC (permalink / raw)
  To: axboe; +Cc: linux-block

Just dusting off some old branches that had these as side work..


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/3] block: remove bio_destructor_t
  2016-09-11 14:03 a few trivial cleanups Christoph Hellwig
@ 2016-09-11 14:03 ` Christoph Hellwig
  2016-09-14  2:15   ` Bart Van Assche
  2016-09-11 14:03 ` [PATCH 2/3] bio.h: remove a very outdated comment Christoph Hellwig
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Christoph Hellwig @ 2016-09-11 14:03 UTC (permalink / raw)
  To: axboe; +Cc: linux-block

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 include/linux/blk_types.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h
index 436f43f..a2f4add 100644
--- a/include/linux/blk_types.h
+++ b/include/linux/blk_types.h
@@ -16,7 +16,6 @@ struct block_device;
 struct io_context;
 struct cgroup_subsys_state;
 typedef void (bio_end_io_t) (struct bio *);
-typedef void (bio_destructor_t) (struct bio *);
 
 #ifdef CONFIG_BLOCK
 /*
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/3] bio.h: remove a very outdated comment
  2016-09-11 14:03 a few trivial cleanups Christoph Hellwig
  2016-09-11 14:03 ` [PATCH 1/3] block: remove bio_destructor_t Christoph Hellwig
@ 2016-09-11 14:03 ` Christoph Hellwig
  2016-09-11 14:03 ` [PATCH 3/3] block: remove IOPRIO_BITS Christoph Hellwig
  2016-09-14 15:18 ` a few trivial cleanups Jens Axboe
  3 siblings, 0 replies; 7+ messages in thread
From: Christoph Hellwig @ 2016-09-11 14:03 UTC (permalink / raw)
  To: axboe; +Cc: linux-block

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 include/linux/bio.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/linux/bio.h b/include/linux/bio.h
index 23ddf4b..e00721a 100644
--- a/include/linux/bio.h
+++ b/include/linux/bio.h
@@ -1,6 +1,4 @@
 /*
- * 2.5 block I/O model
- *
  * Copyright (C) 2001 Jens Axboe <axboe@suse.de>
  *
  * This program is free software; you can redistribute it and/or modify
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 3/3] block: remove IOPRIO_BITS
  2016-09-11 14:03 a few trivial cleanups Christoph Hellwig
  2016-09-11 14:03 ` [PATCH 1/3] block: remove bio_destructor_t Christoph Hellwig
  2016-09-11 14:03 ` [PATCH 2/3] bio.h: remove a very outdated comment Christoph Hellwig
@ 2016-09-11 14:03 ` Christoph Hellwig
  2016-09-14  2:16   ` Bart Van Assche
  2016-09-14 15:18 ` a few trivial cleanups Jens Axboe
  3 siblings, 1 reply; 7+ messages in thread
From: Christoph Hellwig @ 2016-09-11 14:03 UTC (permalink / raw)
  To: axboe; +Cc: linux-block

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 include/linux/ioprio.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/ioprio.h b/include/linux/ioprio.h
index beb9ce1..8c12390 100644
--- a/include/linux/ioprio.h
+++ b/include/linux/ioprio.h
@@ -7,7 +7,6 @@
 /*
  * Gives us 8 prio classes with 13-bits of data for each class
  */
-#define IOPRIO_BITS		(16)
 #define IOPRIO_CLASS_SHIFT	(13)
 #define IOPRIO_PRIO_MASK	((1UL << IOPRIO_CLASS_SHIFT) - 1)
 
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/3] block: remove bio_destructor_t
  2016-09-11 14:03 ` [PATCH 1/3] block: remove bio_destructor_t Christoph Hellwig
@ 2016-09-14  2:15   ` Bart Van Assche
  0 siblings, 0 replies; 7+ messages in thread
From: Bart Van Assche @ 2016-09-14  2:15 UTC (permalink / raw)
  To: Christoph Hellwig, axboe; +Cc: linux-block, Bart Van Assche

On 09/11/2016 04:03 PM, Christoph Hellwig wrote:
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  include/linux/blk_types.h | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h
> index 436f43f..a2f4add 100644
> --- a/include/linux/blk_types.h
> +++ b/include/linux/blk_types.h
> @@ -16,7 +16,6 @@ struct block_device;
>  struct io_context;
>  struct cgroup_subsys_state;
>  typedef void (bio_end_io_t) (struct bio *);
> -typedef void (bio_destructor_t) (struct bio *);
>
>  #ifdef CONFIG_BLOCK
>  /*

Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 3/3] block: remove IOPRIO_BITS
  2016-09-11 14:03 ` [PATCH 3/3] block: remove IOPRIO_BITS Christoph Hellwig
@ 2016-09-14  2:16   ` Bart Van Assche
  0 siblings, 0 replies; 7+ messages in thread
From: Bart Van Assche @ 2016-09-14  2:16 UTC (permalink / raw)
  To: Christoph Hellwig, axboe; +Cc: linux-block, Bart Van Assche

On 09/11/2016 04:03 PM, Christoph Hellwig wrote:
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  include/linux/ioprio.h | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/include/linux/ioprio.h b/include/linux/ioprio.h
> index beb9ce1..8c12390 100644
> --- a/include/linux/ioprio.h
> +++ b/include/linux/ioprio.h
> @@ -7,7 +7,6 @@
>  /*
>   * Gives us 8 prio classes with 13-bits of data for each class
>   */
> -#define IOPRIO_BITS		(16)
>  #define IOPRIO_CLASS_SHIFT	(13)
>  #define IOPRIO_PRIO_MASK	((1UL << IOPRIO_CLASS_SHIFT) - 1)

Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: a few trivial cleanups
  2016-09-11 14:03 a few trivial cleanups Christoph Hellwig
                   ` (2 preceding siblings ...)
  2016-09-11 14:03 ` [PATCH 3/3] block: remove IOPRIO_BITS Christoph Hellwig
@ 2016-09-14 15:18 ` Jens Axboe
  3 siblings, 0 replies; 7+ messages in thread
From: Jens Axboe @ 2016-09-14 15:18 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: linux-block

On 09/11/2016 08:03 AM, Christoph Hellwig wrote:
> Just dusting off some old branches that had these as side work..

Applied for 4.9, thanks.

-- 
Jens Axboe

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-09-14 15:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-11 14:03 a few trivial cleanups Christoph Hellwig
2016-09-11 14:03 ` [PATCH 1/3] block: remove bio_destructor_t Christoph Hellwig
2016-09-14  2:15   ` Bart Van Assche
2016-09-11 14:03 ` [PATCH 2/3] bio.h: remove a very outdated comment Christoph Hellwig
2016-09-11 14:03 ` [PATCH 3/3] block: remove IOPRIO_BITS Christoph Hellwig
2016-09-14  2:16   ` Bart Van Assche
2016-09-14 15:18 ` a few trivial cleanups Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.