ps3disk.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) | ps3disk.c (12c95f137d09450b2c2e86fb12da5c7cf585b322) |
---|---|
1/* 2 * PS3 Disk Storage Driver 3 * 4 * Copyright (C) 2007 Sony Computer Entertainment Inc. 5 * Copyright 2007 Sony Corp. 6 * 7 * This program is free software; you can redistribute it and/or modify it 8 * under the terms of the GNU General Public License as published --- 454 unchanged lines hidden (view full) --- 463 464 blk_queue_bounce_limit(queue, BLK_BOUNCE_HIGH); 465 466 blk_queue_max_hw_sectors(queue, dev->bounce_size >> 9); 467 blk_queue_segment_boundary(queue, -1UL); 468 blk_queue_dma_alignment(queue, dev->blk_size-1); 469 blk_queue_logical_block_size(queue, dev->blk_size); 470 | 1/* 2 * PS3 Disk Storage Driver 3 * 4 * Copyright (C) 2007 Sony Computer Entertainment Inc. 5 * Copyright 2007 Sony Corp. 6 * 7 * This program is free software; you can redistribute it and/or modify it 8 * under the terms of the GNU General Public License as published --- 454 unchanged lines hidden (view full) --- 463 464 blk_queue_bounce_limit(queue, BLK_BOUNCE_HIGH); 465 466 blk_queue_max_hw_sectors(queue, dev->bounce_size >> 9); 467 blk_queue_segment_boundary(queue, -1UL); 468 blk_queue_dma_alignment(queue, dev->blk_size-1); 469 blk_queue_logical_block_size(queue, dev->blk_size); 470 |
471 blk_queue_flush(queue, REQ_FLUSH); | 471 blk_queue_write_cache(queue, true, false); |
472 473 blk_queue_max_segments(queue, -1); 474 blk_queue_max_segment_size(queue, dev->bounce_size); 475 476 gendisk = alloc_disk(PS3DISK_MINORS); 477 if (!gendisk) { 478 dev_err(&dev->sbd.core, "%s:%u: alloc_disk failed\n", __func__, 479 __LINE__); --- 110 unchanged lines hidden --- | 472 473 blk_queue_max_segments(queue, -1); 474 blk_queue_max_segment_size(queue, dev->bounce_size); 475 476 gendisk = alloc_disk(PS3DISK_MINORS); 477 if (!gendisk) { 478 dev_err(&dev->sbd.core, "%s:%u: alloc_disk failed\n", __func__, 479 __LINE__); --- 110 unchanged lines hidden --- |