block: update settings from N770F_13
This commit is contained in:
parent
8000355233
commit
b4a201570f
1 changed files with 3 additions and 3 deletions
|
@ -87,11 +87,11 @@ queue_ra_store(struct request_queue *q, const char *page, size_t count)
|
|||
unsigned long ra_kb;
|
||||
ssize_t ret;
|
||||
static const char temp[] = "temporary ";
|
||||
|
||||
|
||||
/* IOPP-ra-v2.0.4.4 */
|
||||
if (strncmp(page, temp, sizeof(temp) - 1) != 0)
|
||||
return count;
|
||||
|
||||
|
||||
page += sizeof(temp) - 1;
|
||||
|
||||
ret = queue_var_store(&ra_kb, page, count);
|
||||
|
@ -401,7 +401,7 @@ static struct queue_sysfs_entry queue_requests_entry = {
|
|||
};
|
||||
|
||||
static struct queue_sysfs_entry queue_ra_entry = {
|
||||
.attr = {.name = "read_ahead_kb", .mode = S_IRUGO | S_IWUSR },
|
||||
.attr = {.name = "read_ahead_kb", .mode = 0644 },
|
||||
.show = queue_ra_show,
|
||||
.store = queue_ra_store,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue