All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] (Documentation) append more detail explanation to the I/O scheduler API.
@ 2009-11-21  5:16 Hiroyasu OHYAMA
  0 siblings, 0 replies; 2+ messages in thread
From: Hiroyasu OHYAMA @ 2009-11-21  5:16 UTC (permalink / raw)
  To: linux-kernel

 This patch append more detail explanation to the Documentation of API of I/O scheduler.

 Thank you for reading.

---
diff --git a/Documentation/block/biodoc.txt b/Documentation/block/biodoc.txt
index 8d2158a..7c04f54 100644
--- a/Documentation/block/biodoc.txt
+++ b/Documentation/block/biodoc.txt
@@ -935,7 +935,12 @@ keeping work.
 4.1. I/O scheduler API

  The functions an elevator may implement are: (* are mandatory)
-elevator_merge_fn    called to query requests for merge with a bio
+elevator_merge_fn    called to query requests for merge with a bio. This method
+       have two following works. One is to indicate how to merge request
+       with bio from head or tail. This function doesn't merge them actually,
+       but just indicate direction for merging from head or tail, or that
+       there is no request with that bio can merge. Another work is to get
+       the request object which is merged, if the bio can do.

 elevator_merge_req_fn    called when two requests get merged. the one
         which gets merged into the other one will be

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

* [PATCH] (Documentation) append more detail explanation to the I/O scheduler API.
@ 2009-11-22 12:18 Hiroyasu OHYAMA
  0 siblings, 0 replies; 2+ messages in thread
From: Hiroyasu OHYAMA @ 2009-11-22 12:18 UTC (permalink / raw)
  To: linux-kernel

 From: Hiroyasu OHYAMA

 Signed-off-by: Hiroyasu OHYAMA <ohyama_sec@ariel-networks.com>

 I'm sorry, I realized that the patch which I send before is incorrect format
 to send it to lkml.
 So I resend it.

 This patch append more detail explanation to the Documentation of API of I/O scheduler.

 Thank you for reading.

---
diff --git a/Documentation/block/biodoc.txt b/Documentation/block/biodoc.txt
index 8d2158a..7c04f54 100644
--- a/Documentation/block/biodoc.txt
+++ b/Documentation/block/biodoc.txt
@@ -935,7 +935,12 @@ keeping work.
 4.1. I/O scheduler API

  The functions an elevator may implement are: (* are mandatory)
-elevator_merge_fn    called to query requests for merge with a bio
+elevator_merge_fn    called to query requests for merge with a bio. This method
+       have two following works. One is to indicate how to merge request
+       with bio from head or tail. This function doesn't merge them actually,
+       but just indicate direction for merging from head or tail, or that
+       there is no request with that bio can merge. Another work is to get
+       the request object which is merged, if the bio can do.

 elevator_merge_req_fn    called when two requests get merged. the one
         which gets merged into the other one will be



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

end of thread, other threads:[~2009-11-22 12:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-21  5:16 [PATCH] (Documentation) append more detail explanation to the I/O scheduler API Hiroyasu OHYAMA
2009-11-22 12:18 Hiroyasu OHYAMA

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.