block_int.h (f7946da274cf451d66e5207f21286fea14c4795d) | block_int.h (47fec59941a7182380bc8dde3faf17cfb05b770f) |
---|---|
1/* 2 * QEMU System Emulator block driver 3 * 4 * Copyright (c) 2003 Fabrice Bellard 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 598 unchanged lines hidden (view full) --- 607 608 /* threshold limit for writes, in bytes. "High water mark". */ 609 uint64_t write_threshold_offset; 610 NotifierWithReturn write_threshold_notifier; 611 612 QLIST_HEAD(, BdrvTrackedRequest) tracked_requests; 613 CoQueue flush_queue; /* Serializing flush queue */ 614 bool active_flush_req; /* Flush request in flight? */ | 1/* 2 * QEMU System Emulator block driver 3 * 4 * Copyright (c) 2003 Fabrice Bellard 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 598 unchanged lines hidden (view full) --- 607 608 /* threshold limit for writes, in bytes. "High water mark". */ 609 uint64_t write_threshold_offset; 610 NotifierWithReturn write_threshold_notifier; 611 612 QLIST_HEAD(, BdrvTrackedRequest) tracked_requests; 613 CoQueue flush_queue; /* Serializing flush queue */ 614 bool active_flush_req; /* Flush request in flight? */ |
615 unsigned int write_gen; /* Current data generation */ | |
616 unsigned int flushed_gen; /* Flushed write generation */ 617 618 QLIST_HEAD(, BdrvDirtyBitmap) dirty_bitmaps; 619 620 /* Offset after the highest byte written to */ 621 Stat64 wr_highest_offset; 622 623 /* If true, copy read backing sectors into image. Can be >1 if more --- 18 unchanged lines hidden (view full) --- 642 */ 643 unsigned io_plugged; 644 645 /* do we need to tell the quest if we have a volatile write cache? */ 646 int enable_write_cache; 647 648 /* Accessed with atomic ops. */ 649 int quiesce_counter; | 615 unsigned int flushed_gen; /* Flushed write generation */ 616 617 QLIST_HEAD(, BdrvDirtyBitmap) dirty_bitmaps; 618 619 /* Offset after the highest byte written to */ 620 Stat64 wr_highest_offset; 621 622 /* If true, copy read backing sectors into image. Can be >1 if more --- 18 unchanged lines hidden (view full) --- 641 */ 642 unsigned io_plugged; 643 644 /* do we need to tell the quest if we have a volatile write cache? */ 645 int enable_write_cache; 646 647 /* Accessed with atomic ops. */ 648 int quiesce_counter; |
649 unsigned int write_gen; /* Current data generation */ |
|
650}; 651 652struct BlockBackendRootState { 653 int open_flags; 654 bool read_only; 655 BlockdevDetectZeroesOptions detect_zeroes; 656}; 657 --- 301 unchanged lines hidden --- | 650}; 651 652struct BlockBackendRootState { 653 int open_flags; 654 bool read_only; 655 BlockdevDetectZeroesOptions detect_zeroes; 656}; 657 --- 301 unchanged lines hidden --- |