Searched refs:stable_ctime (Results 1 - 14 of 14) sorted by relevance
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | file_remote.c | 93 * checking of stable_ctime. in hmdfs_open_final_remote() 105 if (info->stable_ctime.tv_sec == 0 && info->stable_ctime.tv_nsec == 0) { in hmdfs_open_final_remote() 112 * - if last stable_ctime == stable_ctime, we do nothing. in hmdfs_open_final_remote() 113 * a. if ctime < stable_ctime, data is ensured to be uptodate, in hmdfs_open_final_remote() 114 * b. if ctime == stable_ctime, stale data might be accessed. This is in hmdfs_open_final_remote() 116 * c. ctime > stable_ctime is impossible. in hmdfs_open_final_remote() 117 * - if last stable_ctime < stable_ctime, w in hmdfs_open_final_remote() [all...] |
H A D | hmdfs_trace.h | 759 __entry->remote_stable_ctime = open_ret->stable_ctime.tv_sec; 761 open_ret->stable_ctime.tv_nsec; 766 __entry->local_stable_ctime = info->stable_ctime.tv_sec; 767 __entry->local_stable_ctime_nsec = info->stable_ctime.tv_nsec; 770 TP_printk("file path: %s, file id: %u, file ver: %llu, reason: %d, file size: %llu/%llu, ino: %llu/%llu, ctime: %llu.%llu/%llu.%llu, stable_ctime: %llu.%llu/%llu.%llu from remote/local", 823 __field(uint64_t, stable_ctime) 842 __entry->stable_ctime = resp ? resp->stable_ctime : 0; 851 __entry->ctime_nsec, __entry->stable_ctime,
|
H A D | hmdfs_client.h | 20 struct hmdfs_time_t stable_ctime; member
|
H A D | inode.h | 109 struct hmdfs_time_t stable_ctime; member 113 * the functionality of stable_ctime won't be effective.
|
H A D | hmdfs_client.c | 70 open_ret->stable_ctime.tv_sec = le64_to_cpu(resp->stable_ctime); in hmdfs_send_open() 71 open_ret->stable_ctime.tv_nsec = le32_to_cpu(resp->stable_ctime_nsec); in hmdfs_send_open()
|
H A D | hmdfs_server.c | 473 * new value stable_ctime to handle the problem. in hmdfs_update_open_response() 474 * - if open rpc time < ctime, stable_ctime = 0; in hmdfs_update_open_response() 475 * - if ctime <= open rpc time < ctime + dcache_precision, stable_ctime in hmdfs_update_open_response() 477 * - else, stable_ctime = ctime + dcache_precision; in hmdfs_update_open_response() 481 resp->stable_ctime = cpu_to_le64(0); in hmdfs_update_open_response() 485 resp->stable_ctime = resp->ctime; in hmdfs_update_open_response() 488 resp->stable_ctime = cpu_to_le64(precision.tv_sec); in hmdfs_update_open_response()
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | file_remote.c | 93 * checking of stable_ctime. in hmdfs_open_final_remote() 105 if (info->stable_ctime.tv_sec == 0 && info->stable_ctime.tv_nsec == 0) { in hmdfs_open_final_remote() 112 * - if last stable_ctime == stable_ctime, we do nothing. in hmdfs_open_final_remote() 113 * a. if ctime < stable_ctime, data is ensured to be uptodate, in hmdfs_open_final_remote() 114 * b. if ctime == stable_ctime, stale data might be accessed. This is in hmdfs_open_final_remote() 116 * c. ctime > stable_ctime is impossible. in hmdfs_open_final_remote() 117 * - if last stable_ctime < stable_ctime, w in hmdfs_open_final_remote() [all...] |
H A D | hmdfs_trace.h | 759 __entry->remote_stable_ctime = open_ret->stable_ctime.tv_sec; 761 open_ret->stable_ctime.tv_nsec; 766 __entry->local_stable_ctime = info->stable_ctime.tv_sec; 767 __entry->local_stable_ctime_nsec = info->stable_ctime.tv_nsec; 770 TP_printk("file path: %s, file id: %u, file ver: %llu, reason: %d, file size: %llu/%llu, ino: %llu/%llu, ctime: %llu.%llu/%llu.%llu, stable_ctime: %llu.%llu/%llu.%llu from remote/local", 823 __field(uint64_t, stable_ctime) 842 __entry->stable_ctime = resp ? resp->stable_ctime : 0; 851 __entry->ctime_nsec, __entry->stable_ctime,
|
H A D | inode.h | 109 struct hmdfs_time_t stable_ctime; member 113 * the functionality of stable_ctime won't be effective.
|
H A D | hmdfs_client.h | 20 struct hmdfs_time_t stable_ctime; member
|
H A D | hmdfs_client.c | 70 open_ret->stable_ctime.tv_sec = le64_to_cpu(resp->stable_ctime); in hmdfs_send_open() 71 open_ret->stable_ctime.tv_nsec = le32_to_cpu(resp->stable_ctime_nsec); in hmdfs_send_open()
|
H A D | hmdfs_server.c | 473 * new value stable_ctime to handle the problem. in hmdfs_update_open_response() 474 * - if open rpc time < ctime, stable_ctime = 0; in hmdfs_update_open_response() 475 * - if ctime <= open rpc time < ctime + dcache_precision, stable_ctime in hmdfs_update_open_response() 477 * - else, stable_ctime = ctime + dcache_precision; in hmdfs_update_open_response() 481 resp->stable_ctime = cpu_to_le64(0); in hmdfs_update_open_response() 485 resp->stable_ctime = resp->ctime; in hmdfs_update_open_response() 488 resp->stable_ctime = cpu_to_le64(precision.tv_sec); in hmdfs_update_open_response()
|
/kernel/linux/linux-5.10/fs/hmdfs/comm/ |
H A D | protocol.h | 204 __le64 stable_ctime; member
|
/kernel/linux/linux-6.6/fs/hmdfs/comm/ |
H A D | protocol.h | 204 __le64 stable_ctime; member
|
Completed in 17 milliseconds