diff for duplicates of <20110125204158.GA3013@redhat.com> diff --git a/a/1.txt b/N1/1.txt index 492d662..655a648 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -166,3 +166,27 @@ index 8a082a5..0c569ec 100644 }; - void *completion_data; +- + /* + * Three pointers are available for the IO schedulers, if they need +- * more they have to dynamically allocate it. ++ * more they have to dynamically allocate it. Let the flush fields ++ * share space with these three pointers. + */ +- void *elevator_private; +- void *elevator_private2; +- void *elevator_private3; ++ union { ++ struct { ++ void *private; ++ void *private2; ++ void *private3; ++ } elevator; ++ struct { ++ unsigned int seq; ++ struct list_head list; ++ } flush; ++ }; + + struct gendisk *rq_disk; + struct hd_struct *part; diff --git a/a/content_digest b/N1/content_digest index 9becf7e..4d94b63 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -188,6 +188,30 @@ "+\t\tvoid *completion_data;\n" " \t};\n" " \n" - "-\tvoid *completion_data;" + "-\tvoid *completion_data;\n" + "-\n" + " \t/*\n" + " \t * Three pointers are available for the IO schedulers, if they need\n" + "-\t * more they have to dynamically allocate it.\n" + "+\t * more they have to dynamically allocate it. Let the flush fields\n" + "+\t * share space with these three pointers.\n" + " \t */\n" + "-\tvoid *elevator_private;\n" + "-\tvoid *elevator_private2;\n" + "-\tvoid *elevator_private3;\n" + "+\tunion {\n" + "+\t\tstruct {\n" + "+\t\t\tvoid *private;\n" + "+\t\t\tvoid *private2;\n" + "+\t\t\tvoid *private3;\n" + "+\t\t} elevator;\n" + "+\t\tstruct {\n" + "+\t\t\tunsigned int\t\t\tseq;\n" + "+\t\t\tstruct list_head\t\tlist;\n" + "+\t\t} flush;\n" + "+\t};\n" + " \n" + " \tstruct gendisk *rq_disk;\n" + " \tstruct hd_struct *part;" -18995fc541cc034343fb73fbcf868867f8c2b6aa98d9de11653dc058d2d24e3e +688e575ff0caf772864ea82e5d04746e8e17bd65903c85b9619e6f740285508b
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.