Bug 194351

Summary: drivers/staging/lustre/lustre/lov/lov_io.c lov_io_rw_iter_init inefficient path structure
Product: Drivers Reporter: Michael (michael_allen_bond)
Component: StagingAssignee: drivers_staging (drivers_staging)
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.10 Subsystem:
Regression: No Bisected commit-id:

Description Michael 2017-02-07 06:07:42 UTC
In lov_io_rw_iter_init:
Thefastpath's value is mitigated by a slowpath that it has to traverse through at the end of the function, and the conditional branches in the slowpath have inconsistent return values (particularly the (unlikely) branch).