From: Alex Elder Date: Mon, 25 Mar 2013 23:16:11 +0000 (-0500) Subject: libceph: keep request lists in tid order X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~26^2~178 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad885927dee2e72fbfab624c7599cb9d9352cc04;p=pandora-kernel.git libceph: keep request lists in tid order In __map_request(), when adding a request to an osd client's unsent list, add it to the tail rather than the head. That way the newest entries (with the highest tid value) will be last. Maintain an osd's request list in order of increasing tid also. Finally--to be consistent--maintain an osd client's "notarget" list in that order as well. This partially resolves: http://tracker.ceph.com/issues/4392 Signed-off-by: Alex Elder Reviewed-off-by: Sage Weil --- Reading git-diff-tree failed