search for: write_ops

Displaying 2 results from an estimated 2 matches for "write_ops".

Did you mean: pwrite_ops
2013 Sep 06
1
[PATCH 2/2 v2] com32/disk: Improve flow at disk_write_sectors and disk_read_sectors.
...rs(const struct disk_info *const diskinfo, uint64_t lba, const void *data, uint8_t count) { com32sys_t inreg; - struct disk_ebios_dapa *dapa; void *buf; - uint32_t maxcnt; + uint32_t idx, maxcnt; uint32_t size = 65536; int rv = -1; + static struct disk_ops write_ops[2] = { + { CHS_WRITE_CODE, &chs_disk_op }, + { EBIOS_WRITE_CODE, &ebios_disk_op } + }; maxcnt = (size - diskinfo->bps) / diskinfo->bps; if (!count || count > maxcnt || lba + count > diskinfo->lbacnt) return -1; + + memset(&inreg, 0, sizeof inreg);...
2011 May 03
8
Is it possible for the ext4/btrfs file system to pass some context related info to low level block driver?
Currently, some new storage devices have the ability to do performance optimizations according to the type of data payload - say, file system metadata, time-stamps, sequential write in some granularity, random write and so on. For example, the latest eMMC 4.5 device can support the so-called ''Context Management'' and ''Data Tag Mechanism'' features. By receiving