Home
last modified time | relevance | path

Searched refs:path_in_trash (Results 1 – 3 of 3) sorted by relevance

/rocksdb-6.9/file/
Ddelete_scheduler.cc217 std::string path_in_trash = fad.fname; in BackgroundEmptyTrash() local
225 DeleteTrashFile(path_in_trash, fad.dir, &deleted_bytes, &is_complete); in BackgroundEmptyTrash()
233 bg_errors_[path_in_trash] = s; in BackgroundEmptyTrash()
262 Status DeleteScheduler::DeleteTrashFile(const std::string& path_in_trash, in DeleteTrashFile() argument
267 Status s = fs_->GetFileSize(path_in_trash, IOOptions(), &file_size, nullptr); in DeleteTrashFile()
278 Status my_status = fs_->NumFileLinks(path_in_trash, IOOptions(), in DeleteTrashFile()
283 my_status = fs_->ReopenWritableFile(path_in_trash, FileOptions(), in DeleteTrashFile()
306 path_in_trash.c_str()); in DeleteTrashFile()
319 s = fs_->DeleteFile(path_in_trash, IOOptions(), nullptr); in DeleteTrashFile()
333 sst_file_manager_->OnDeleteFile(path_in_trash); in DeleteTrashFile()
[all …]
Ddelete_scheduler.h87 Status MarkAsTrash(const std::string& file_path, std::string* path_in_trash);
89 Status DeleteTrashFile(const std::string& path_in_trash,
Dsst_file_manager_impl.cc522 std::string path_in_trash = trash_dir + "/" + trash_file; in NewSstFileManager() local
523 res->OnAddFile(path_in_trash); in NewSstFileManager()
525 res->ScheduleFileDeletion(path_in_trash, trash_dir); in NewSstFileManager()