DiskdIOStrategy.cc
Go to the documentation of this file.
89DiskdIOStrategy::DiskdIOStrategy() : magic1(64), magic2(72), away(0), smsgid(-1), rmsgid(-1), wfd(-1), instanceID(newInstance())
279 debugs(79, 3, "storeDiskdUnlinkDone: file " << shm.buf + M->shm_offset << " status " << M->status);
337DiskdIOStrategy::send(int mtype, int id, DiskdFile *theFile, size_t size, off_t offset, ssize_t shm_offset, Lock *requestor)
352DiskdIOStrategy::send(int mtype, int id, RefCount<StoreIOState> sio, size_t size, off_t offset, ssize_t shm_offset)
362DiskdIOStrategy::SEND(diomsg *M, int mtype, int id, size_t size, off_t offset, ssize_t shm_offset)
426 result->options.push_back(new ConfigOptionAdapter<DiskdIOStrategy>(*const_cast<DiskdIOStrategy *>(this), &DiskdIOStrategy::optionQ1Parse, &DiskdIOStrategy::optionQ1Dump));
427 result->options.push_back(new ConfigOptionAdapter<DiskdIOStrategy>(*const_cast<DiskdIOStrategy *>(this), &DiskdIOStrategy::optionQ2Parse, &DiskdIOStrategy::optionQ2Dump));
453 debugs(3, DBG_IMPORTANT, "WARNING: cannot increase cache_dir Q1 value while Squid is running.");
485 debugs(3, DBG_IMPORTANT, "WARNING: cannot increase cache_dir Q2 value while Squid is running.");
Definition: ConfigOption.h:79
Definition: ConfigOption.h:68
Definition: ConfigOption.h:58
Definition: DiskdFile.h:25
Definition: DiskdIOStrategy.h:43
bool optionQ1Parse(char const *option, const char *value, int reconfiguring)
Definition: DiskdIOStrategy.cc:432
int SEND(diomsg *M, int mtype, int id, size_t size, off_t offset, ssize_t shm_offset)
Definition: DiskdIOStrategy.cc:362
ConfigOption * getOptionTree() const override
Definition: DiskdIOStrategy.cc:423
void optionQ2Dump(StoreEntry *e) const
Definition: DiskdIOStrategy.cc:497
bool optionQ2Parse(char const *option, const char *value, int reconfiguring)
Definition: DiskdIOStrategy.cc:471
void optionQ1Dump(StoreEntry *e) const
Definition: DiskdIOStrategy.cc:465
int send(int mtype, int id, DiskdFile *theFile, size_t size, off_t offset, ssize_t shm_offset, Lock *requestor)
Definition: DiskdIOStrategy.cc:337
void statfs(StoreEntry &sentry) const override
Definition: DiskdIOStrategy.cc:569
RefCount< DiskFile > newFile(char const *path) override
Definition: DiskdIOStrategy.cc:79
Definition: Address.h:41
struct SquidConfig::@99 Program
struct StatCounters::@130 syscalls
struct StatCounters::@130::@134 disk
Definition: Store.h:42
int callback() override
called once every main loop iteration; TODO: Move to UFS code.
Definition: Controller.cc:229
pid_t ipcCreate(int type, const char *prog, const char *const args[], const char *name, Ip::Address &local_addr, int *rfd, int *wfd, void **hIpc)
Definition: ipc.cc:65
Definition: diomsg.h:30
Definition: DiskdIOStrategy.h:100
struct diskd_stats_t::@42 unlink