Home | History | Annotate | Download | only in src

Lines Matching full:disk

1822       logprintf(0, "Process Error: disk thread posix_memalign "
2542 segment_size_ = -1; // use the entire disk as one segment
2593 // Blocks must be aligned to the disk's sector size.
2604 // Write blocks must be aligned to the disk's sector size and to the
2673 // Segments must be aligned to the disk's sector size.
2685 // Having a queue of 150% of blocks that will fit in the disk's cache
2687 // making sure the data comes form the disk and not the cache.
2719 disk/file.
2724 logprintf(0, "Process Error: Unable to fstat disk %s (thread %d).\n",
2735 logprintf(0, "Process Error: Unable to ioctl disk %s (thread %d).\n",
2760 logprintf(12, "Log: Device sectors: %lld on disk %s (thread %d).\n",
2799 // Disk size should be at least 3x cache size. See comment later for
2803 // This disk test works by writing blocks with a certain pattern to
2804 // disk, then reading them back and verifying it against the pattern
2811 // To prevent the read blocks from coming from the disk cache,
2813 // be ejected from the disk cache by the time it is read.
2821 // Write blocks to disk.
2822 logprintf(16, "Log: Write phase %sfor disk %s (thread %d).\n",
2828 // Confine testing to a particular segment of the disk.
2833 "%lld on disk %s (thread %d).\n",
2844 // minumim on the disk size at 3x the stated cache size, or 48MiB
2852 // 2. Assume the entire disk is one segment.
2858 // In non-destructive mode, don't write anything to disk.
2876 // Verify blocks on disk.
2877 logprintf(20, "Log: Read phase for disk %s (thread %d).\n",
2893 // Do an asynchronous disk I/O operation.
2909 { IO_CMD_PREAD, "read", "disk-read-error" },
2910 { IO_CMD_PWRITE, "write", "disk-write-error" }
2928 "on disk %s (thread %d). Error %d, %s\n",
2945 logprintf(5, "Log: %s interrupted on disk %s (thread %d).\n",
2952 "starting at %lld on disk %s (thread %d).\n",
2968 logprintf(0, "Process Error: Unable to create aio context on disk %s"
2986 "sectors starting at %lld on disk %s (thread %d).\n",
2992 "sectors starting at %lld on disk %s (thread %d).\n",
2998 "%lld on disk %s (thread %d).\n",
3011 // Write a block to disk.
3025 "DiskThread::WriteBlockToDisk on disk %s (thread %d).\n",
3037 logprintf(12, "Log: Writing %lld sectors starting at %lld on disk %s"
3054 "%lld us on disk %s (thread %d).\n",
3062 // Verify a block on disk.
3072 logprintf(20, "Log: Reading sectors starting at %lld on disk %s "
3076 // Read block from disk and time the read. If it takes longer than the
3080 "DiskThread::ValidateSectorsOnDisk on disk %s "
3088 // This assures all data written on disk by this particular block
3098 "disk %s (thread %d)\n",
3114 "%lld us on disk %s (thread %d).\n",
3120 // the block was never written to disk in the first place.
3124 os_->ErrorReport(device_name_.c_str(), "disk-pattern-error", 1);
3128 "disk %s (thread %d).\n",
3145 logprintf(9, "Log: Starting disk thread %d, disk %s\n",
3167 "for disk %s (thread %d) posix memalign returned %d.\n",
3176 logprintf(0, "Process Error: Unable to create aio context for disk %s"
3193 logprintf(9, "Log: Completed %d (disk %s): disk thread status %d, "
3207 // Workload for random disk thread.
3209 logprintf(11, "Log: Random phase for disk %s (thread %d).\n",