commit | 622c202c4a4697636334761d7ca295ebd35074e4 | [log] [tgz] |
---|---|---|
author | Dean Luick <dean.luick@intel.com> | Thu Jul 28 15:21:21 2016 -0400 |
committer | Doug Ledford <dledford@redhat.com> | Tue Aug 02 22:46:21 2016 -0400 |
tree | 16e3c5e172bcd85b95ca30eeadd168f7e3ab5ef0 | |
parent | e0b09ac55d51bb9bf6a4a320bf4029e40bdabd6c [diff] |
IB/hfi1: Fix TID caching actions Per file descriptor TID caching actions depend on a global that can change midway through the lifetime of that file descriptor. Make the use of caching consistent for the life of the file descriptor by using the presence of the cache handler to decide when to use the cache functions. Reviewed-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Dean Luick <dean.luick@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>