bi->interval_exp = ilog2(queue_logical_block_size(disk->queue)); disk->integrity = bi; } else bi = disk->integrity; /* Use the provided profile as template */ if (template != NULL) { bi->profile = template->profile; bi->tuple_size = template->tuple_size; bi->tag_size = tem...
queue_logical_block_size(q), cap_str_10, cap_str_2);set_capacity(vblk->disk, capacity); }static void virtblk_config_changed(struct virtio_device *vdev) { struct virtio_blk *vblk = vdev->priv;queue_work(virtblk_wq, &vblk->config_work); ...
"new size: %llu %d-byte logical blocks (%s/%s)\n", (unsigned long long)capacity, queue_logical_block_size(q), cap_str_10, cap_str_2); set_capacity(vblk->disk, capacity); revalidate_disk(vblk->disk); kobject_uevent_env(&disk_to_dev(vblk->disk)->kobj, KOBJ_CHANGE, ...
blk_queue_alignment_offset blk_queue_bounce_limit blk_queue_can_use_dma_map_merging blk_queue_chunk_sectors blk_queue_flag_clear blk_queue_flag_set blk_queue_flag_test_and_set blk_queue_io_min blk_queue_io_opt blk_queue_logical_block_size blk_queue_make_request blk_queue...
To obtain a more accurate picture of whether or not the activity is really being queued, one can determine which agent is working on the activity and find out whether this agent's EVENT_OBJECT at the catalog partition has a value of WLM_QUEUE. TERMINATING Activity has completed execution...
[-b<size>|--buffer-size][-n<number>|--num-sub-buffers=<number>][-l|--listen][-h<hostname>|--host=<hostname>][-p<port number>|--port=<port number>][-s|--no-sendfile][-I<devs file>|--input-devs=<devs file>][-v<version>|--version][-V<version>|--version]-d Use ...
blk_queue_bounce_limit(cq->queue, BLK_BOUNCE_HIGH);blk_queue_max_hw_sectors(cq->queue, bouncesz /512); blk_queue_physical_block_size(cq->queue, bouncesz); blk_queue_max_segments(cq->queue, bouncesz / PAGE_CACHE_SIZE); blk_queue_max_segment_size(cq->queue, bouncesz); ...
+ dev->rq = blk_init_queue(ubiblk_request, &dev->queue_lock); + if (!dev->rq) { + pr_err("blk_init_queue failed\n"); + ret = -ENODEV; + goto out_put_disk; + } + dev->rq->queuedata = dev; + blk_queue_logical_block_size(dev->rq, BLK_SIZE); ...
snprintf(md->disk->disk_name, sizeof(md->disk->disk_name), - "mmcblk%d%s", md->name_idx, subname ? subname : ""); + "mmcblk%d%s", card->host->index, subname ? subname : ""); if (mmc_card_mmc(card)) blk_queue_logical_block_size(md->queue.queue, ...
voidramhd_req_func(struct request_queue* q){structrequest*req;RAMHD_DEV* pdev;char* pData;unsignedlongaddr, size, start; req =blk_fetch_request(q);while(req) { start = blk_rq_pos(req);// The sector cursor of the current requestpdev = (RAMHD_DEV*)req->rq_disk->private_data;...