Update AGENTS.md: SMB ACLs complete (all VFS-layer features done)
This commit is contained in:
22
AGENTS.md
22
AGENTS.md
@@ -3108,7 +3108,7 @@ markbase-core/Cargo.toml (+1 line)
|
||||
| **Quotas** | ✅ Per-dataset | ✅ VFS layer | ✅ Complete |
|
||||
| **Compression** | ✅ LZ4/ZSTD | ✅ ZSTD | ✅ Complete |
|
||||
| **Previous versions** | ✅ Shadow copy | ✅ VFS layer | ✅ Complete |
|
||||
| **ACLs** | ✅ NFSv4/SMB | ⏳ Blocked | Requires smb-server crate extension |
|
||||
| **ACLs** | ✅ NFSv4/SMB | ✅ VFS layer | ✅ Complete ⭐⭐⭐⭐⭐ |
|
||||
| **Oplocks** | ✅ Samba handles | ⏳ Blocked | Requires smb-server protocol |
|
||||
| **Dedup** | ✅ ZFS native | ⏳ Pending | Low priority |
|
||||
| **RAID-Z** | ✅ ZFS native | ⏳ Pending | Low priority |
|
||||
@@ -3116,12 +3116,12 @@ markbase-core/Cargo.toml (+1 line)
|
||||
---
|
||||
|
||||
**最后更新**:2026-06-20
|
||||
**版本**:1.37(SMB Previous Versions 完成)
|
||||
**版本**:1.39(SMB ACLs 完成)
|
||||
|
||||
## Session Summary - 2026-06-20 ⭐⭐⭐⭐⭐
|
||||
|
||||
**Session Duration**: ~4 hours
|
||||
**Commits**: 6 commits (f016525, 9c44bd5, 70cc6d9, 716eea7, 837ffa9)
|
||||
**Session Duration**: ~5 hours
|
||||
**Commits**: 7 commits (f016525, 9c44bd5, 70cc6d9, 716eea7, 837ffa9, de5f8d3, 1ca4913)
|
||||
|
||||
### Completed Tasks ✅
|
||||
|
||||
@@ -3131,12 +3131,12 @@ markbase-core/Cargo.toml (+1 line)
|
||||
| **SMB Quotas** | Medium | ✅ Complete | 9c44bd5 |
|
||||
| **SMB Compression** | Medium | ✅ Complete | 70cc6d9 |
|
||||
| **SMB Previous versions** | Medium | ✅ Complete | 837ffa9 |
|
||||
| **SMB ACLs** | High | ✅ Complete | 1ca4913 ⭐⭐⭐⭐⭐ |
|
||||
|
||||
### Blocked Tasks ⏳
|
||||
|
||||
| Task | Priority | Status | Blocker |
|
||||
|------|----------|--------|---------|
|
||||
| **SMB ACLs** | High | ⏳ Blocked | Requires smb-server crate extension |
|
||||
| **SMB Oplocks** | Medium | ⏳ Blocked | Requires smb-server protocol |
|
||||
|
||||
### Pending Tasks (Low Priority)
|
||||
@@ -3148,18 +3148,19 @@ markbase-core/Cargo.toml (+1 line)
|
||||
|
||||
### Key Achievements ⭐⭐⭐⭐⭐
|
||||
|
||||
1. **ZFS-style SMB features at VFS layer**: Snapshots, Quotas, Compression, Previous versions all implemented
|
||||
1. **Complete ZFS-style SMB features at VFS layer**: Snapshots, Quotas, Compression, Previous versions, ACLs all implemented
|
||||
2. **GMT token conversion**: SystemTime → @GMT-YYYY.MM.DD-HH.MM.SS format
|
||||
3. **Snapshot management**: Copy-on-write, metadata tracking, restoration
|
||||
4. **Quota enforcement**: Space/file limits, soft limits, grace periods
|
||||
5. **ZSTD compression**: Threshold filtering, transparent compression
|
||||
6. **NFSv4 ACLs**: VfsAce, VfsAcl structures, inheritance flags, permission masks ⭐⭐⭐⭐⭐
|
||||
|
||||
### Files Modified Summary
|
||||
|
||||
```
|
||||
markbase-core/src/vfs/
|
||||
├── mod.rs (+100 lines) - VfsBackend trait extensions
|
||||
├── local_fs.rs (+193 lines) - LocalFs implementations
|
||||
├── mod.rs (+200 lines) - VfsBackend trait + ACL structures
|
||||
├── local_fs.rs (+300 lines) - LocalFs implementations + ACL
|
||||
├── compression.rs (134 lines) - NEW compression module
|
||||
└── Cargo.toml (+1 line) - zstd dependency
|
||||
```
|
||||
@@ -3168,6 +3169,11 @@ markbase-core/src/vfs/
|
||||
|
||||
All 229 tests pass consistently across all features.
|
||||
|
||||
---
|
||||
|
||||
**最后更新**:2026-06-20
|
||||
**版本**:1.39(All VFS-layer SMB features complete)
|
||||
|
||||
### Next Steps Decision Required ⭐⭐⭐⭐⭐
|
||||
|
||||
**Blocked tasks require smb-server crate changes**:
|
||||
|
||||
Reference in New Issue
Block a user