Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
34328f05
Commit
34328f05
authored
Feb 25, 2004
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[libata] Explicitly set max_phys_segments to 128 (current blk default),
in case MAX_PHYS_SEGMENTS ever changes.
parent
cc0c2170
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
drivers/scsi/libata-scsi.c
drivers/scsi/libata-scsi.c
+1
-0
No files found.
drivers/scsi/libata-scsi.c
View file @
34328f05
...
...
@@ -123,6 +123,7 @@ int ata_scsi_slave_config(struct scsi_device *sdev)
{
sdev
->
use_10_for_rw
=
1
;
sdev
->
use_10_for_ms
=
1
;
blk_queue_max_phys_segments
(
sdev
->
request_queue
,
ATA_MAX_PRD
/
2
);
return
0
;
/* scsi layer doesn't check return value, sigh */
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment