Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 606683 Details for
Bug 851312
pNFS client fails to select correct DS from multipath
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
possible fix
pick-supported-ds.patch (text/plain), 845 bytes, created by
Tigran Mkrtchyan
on 2012-08-23 18:29:54 UTC
(
hide
)
Description:
possible fix
Filename:
MIME Type:
Creator:
Tigran Mkrtchyan
Created:
2012-08-23 18:29:54 UTC
Size:
845 bytes
patch
obsolete
>--- fs/nfs/nfs4filelayoutdev.c 2012-08-23 20:32:18.993856632 +0200 >+++ fs/nfs/nfs4filelayoutdev.c.ori 2012-08-23 20:24:54.109875239 +0200 >@@ -395,7 +395,6 @@ > for (i = 0; i < dsaddr->ds_num; i++) { > int j; > u32 mp_count; >- bool has_ds = false; > > p = xdr_inline_decode(&stream, 4); > if (unlikely(!p)) >@@ -409,12 +408,11 @@ > mp_count); > } > for (j = 0; j < mp_count; j++) { >- if (!has_ds) { >+ if (j == 0) { > dsaddr->ds_list[i] = decode_and_add_ds(&stream, > ino, gfp_flags); >- if (dsaddr->ds_list[i] != NULL) { >- has_ds = true; >- } >+ if (dsaddr->ds_list[i] == NULL) >+ goto out_err_free_deviceid; > } else { > u32 len; > /* skip extra multipath */ >@@ -440,9 +438,6 @@ > goto out_err_free_deviceid; > } > } >- if (!has_ds) >- goto out_err_free_deviceid; >- > } > > __free_page(scratch);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 851312
:
606683
|
621082