projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dm snapshot: optimize track_chunk
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
md
/
dm-table.c
diff --git
a/drivers/md/dm-table.c
b/drivers/md/dm-table.c
index 100368eb7991a50c57e473ea20bf4a8441e91ff0..fa295579003175c7c527f0d609afc921bb6c1e96 100644
(file)
--- a/
drivers/md/dm-table.c
+++ b/
drivers/md/dm-table.c
@@
-1445,6
+1445,8
@@
void dm_table_set_restrictions(struct dm_table *t, struct request_queue *q,
else
queue_flag_clear_unlocked(QUEUE_FLAG_NONROT, q);
+ q->limits.max_write_same_sectors = 0;
+
dm_table_set_integrity(t);
/*